Skip to content

Log In Instructions

Scott Handley edited this page Jun 5, 2018 · 5 revisions

Our goal is to use Studio Cloud for the duration of the course. As students you will only need to follow the section called RStudio cloud below. The RStudio Desktop and Docker sections are only there as back-up solutions.

RStudio Cloud

Log in to RStudio Cloud @ https://rstudio.cloud

Can log in through existing Google, Github, or RStudio shinyapps.io account, or register an account. After logging in, you should be taken to your Projects page

Click the Info tab

To read a bit of text explaining the Project and Workspace interface and how RStudio Cloud projects work

Open the course Project @ https://rstudio.cloud/project/38427

Doing so will create a temporary copy that you can edit and run, but changes won't be saved, so we recommend making your own copy:

Make your own permanent copy

Add a permanent copy to your own Projects by clicking "Save a Permanent Copy", and switch to this copy if it isn't done automatically

Familiarize with RStudio interface

Open the main analysis document

By selecting it in the file browser in the lower right


RStudio Desktop (backup solution #1)

Open RStudio and start a new Rstudio project from the github repo

Install required R packages

Extensions to R in the form of purpose-specific packages must be installed prior to loading them in your R sessions. Installation can be accomplished within an R session, or by calling an R script that already defines the installation commands.

R

Open and run the following R script (or execute it from the command line):

install.R


Docker (backup solution #2)

Alternatively, you can install docker, and then run our everything-installed-already docker container via the following command:

sudo docker run --rm -p 8787:8787 joey711/2018asm

If there were now errors and your terminal cursor is sitting idle, it means the container was successfully downloaded and is now running RStudio for you in the background. Go to this local browser location to begin working in RStudio:

0.0.0.0:8787