Skip to content

UCSF-DSOS/r4e

Repository files navigation

Course Access Instructions

You'll need to have R and RStudio installed, and you'll access the self-paced R for Everyone course directly inside of RStudio!

To access the course, open RStudio, and you'll need to complete the following steps:

  1. Install learnr and devtools

  2. Load learnr and devtools

  3. Install Course

  4. Launch Lessons

Install learnr and devtools

You can skip this step of you've already previously installed learnr and devtools packages. However, there is not harm in re-installing these packages.

To install learnr and devtools, copy and paste the commands below into RStudio Console and press Enter.

install.packages("learnr")
install.packages("devtools")

Enter Commands into RStudio Console

Load learnr and devtools

After you've installed learnr and devtools, you'll need to load them in your RStudio session. To do this, copy and paste the commands below into RStudio Console and press Enter.

library(learnr)

Install Course

After you'd loaded learnr and devtools, you can install course. UCSF DSI courses are regularly updated, and you should install the course every time to ensure you are viewing the most up-to-date version of the course.

devtools::install_github("UCSF-DSI/r4e")

Launch Lesson

Now that the course has been installed, you can access the lessons in the Tutorial Pane at the top right of RStudio.

Tutorials Pane is at the Top Right of RStudio

The lessons in this course are:

  1. R and RStudio

  2. Computer Programming

  3. Objects

  4. Conditions

  5. Loops

  6. Functions

  7. Vectors

  8. Matrices

  9. Data Frames

Begin a lesson by clicking Start Tutorial. We recommend viewing the lesson in a new window, and to do that, you'll just need to click the Show in new window icon at the top left of the Tutorial Pane.

Tutorial Menu is on the Top Left of the Tutorial Pane

You can stop or pause the lesson at any time, and RStudio will remember your progress.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages