Skip to content

Commit

Permalink
Initial commit. Prereq framework.
Browse files Browse the repository at this point in the history
  • Loading branch information
Loyal Goff committed Aug 10, 2022
1 parent 14e116d commit 97ab5db
Show file tree
Hide file tree
Showing 8 changed files with 5,410 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

# RStudio files
.Rproj.user/
*.Rproj

# produced vignettes
vignettes/*.html
Expand Down
Binary file added images/paste-D9EE226C.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
62 changes: 62 additions & 0 deletions prereqs/Prereq-Intro_to_RStudio.Rmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
---
title: "Intro to RStudo and RNotebooks"
output:
html_notebook:
toc: true
toc_depth: 2
toc_float: true
editor_options:
chunk_output_type: inline
---

# Introduction

# Learning Objectives

# R Notebooks

Notebooks are designed to facilitate 'literate analysis', which aims to make data analysis more interpretable and transparent. With notebooks, code is embedded with the narrative of the analysis. This has the benefit of helping to convey the specific ideas and thought processes of the author, and allows the introduction of concepts in the workflow that helps to facilitate understanding.

RStudio provides several tools to help develop and share R Notebooks, including the development and maintenance of a specific language structure called RMarkdown. RMarkdown combines the programming language R, with the simple markup language [Markdown](https://daringfireball.net/projects/markdown/). Markdown was designed to help convert human-readable text to HTML or PDF documents using a simple syntax.

- [RMarkdown Cheat Sheet](https://www.rstudio.com/wp-content/uploads/2015/02/rmarkdown-cheatsheet.pdf)

An R Markdown document begins with a short header section that describes the document that will be created. For example, this R Notebook has the following header at the top:

---
title: "Intro to RStudo and RNotebooks"
output:
html_notebook:
toc: true
toc_depth: 2
toc_float: true
editor_options:
chunk_output_type: inline
---

This header uses the [YAML](https://en.wikipedia.org/wiki/YAML) language syntax

# RMarkdown Basics


# Chunks

## Non-code chunks

In modern RMarkdown, \## Code chunks

### Running a code chunk

```{r }
x<-rnorm(100)
mean(x)
```


# Source vs Visual editor

# Knitting an R Notebook

```{r session}
sessionInfo()
```
1,751 changes: 1,751 additions & 0 deletions prereqs/Prereq-Intro_to_RStudio.html

Large diffs are not rendered by default.

3,081 changes: 3,081 additions & 0 deletions prereqs/Prereq-Intro_to_RStudio.nb.html

Large diffs are not rendered by default.

40 changes: 40 additions & 0 deletions prereqs/Prereq-RStudio_installation.Rmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
title: "Getting Started Instructions"
author: "Loyal Goff"
date: '2022-08-05'
output: html_document
---

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```

# Getting Started Instructions (\<Course Number\>)

## Connecting to the Course RStudio Workbench Server

## Local Installation

### Downloading & Installing R

To get started, you will first have to install R on your local machine. Both R and RStudio are free to download and use. R is developed and maintained by a large network of individuals and the software is made available (open source) on the [Comprehensive R Archive Network](http://cran.r-project.org/).

![](images/paste-608C106B.png)

#### Windows 10

#### Windows \< 10

#### Mac OSX / Linux

### Downloading & Installing RStudio

#### Windows 10

#### Windows \< 10

#### Mac OSX / Linux

```{r}
sessionInfo()
```
475 changes: 475 additions & 0 deletions prereqs/Prereq-RStudio_installation.html

Large diffs are not rendered by default.

Binary file added prereqs/images/paste-608C106B.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 97ab5db

Please sign in to comment.