AM Session

Welcome! If you chose the ☁️ setup, please enjoy breakfast and walk through these steps before the workshop begins. Our instructors and TAs are available to help!

Log into our virtual classroom

Go here: http://rstd.io/class

  1. Enter our classroom identifier/password (in your email): advanced-rmarkdown
  2. Enter your name and email address.
  3. Leave the toggle button set to “Create new server credentials.”

(Accept the cookies. 🍪) Your credentials will be different, but your screen should look like this. In fact, every person’s credentials will be different- don’t copy and paste your neighbor’s!

Keep this tab open! You will need these additional credentials later.

Open the URL provided in a new tab. You should see a page with options to connect to RStudio Server Pro and RStudio Connect.

Keep this tab open too! We’ll set up both Server and Connect from here.

Access RStudio Server Pro

Click RStudio Server Pro; you should see a page where you can sign in. You’ll use the credentials from that open tab we just came from.

Once you’re signed in, you should be in a fresh RStudio Server Pro instance. Look in Files; you should see a folder for the course materials already there.

RStudio Connect

Setup

From the RMarkdown Training Server tab, click the RStudio Connect button, then Log In in the top right corner. Use the same credentials as you did for RStudio Server.

Once you’re in, you should see something like this (rstudio-user will be replaced with your username):

Connecting Your Account

In order to publish your documents on RStudio Connect, you’ll need to connect RStudio Server and RStudio Connect. One way to do this:

Create a template document (flexdashboard is a good one for this). From that document, click the Publish button in RStudio Server.

Choose which document(s) you want to publish. RStudio will then ask for the URL of your RStudio Connect instance. Use the URL on that first open tab, with one change: Replace :[number] at the end of the URL with /rsconnect.

Once you’ve set up the initial connection, you’ll be asked to verify your account. Click “Connect Account” and you should be set!

Sharing Your Work

Throughout the workshop, we may want to share our work on Gitter (make sure to sign in or create an account if you haven’t - an invitation should have been emailed to you in early January). Default permissions on RStudio Connect are set so that only you can view your files. To change this, you can change the settings on individual projects once you publish them, using the dropdown menu under “Who can view this document.”

Exporting Your Work

Feel free to take notes within the files set up for you on RStudio Server! You can export those updated files once the workshop is over. Make sure the files you want to export are checked, and then click More -> Export:

A dialog box will pop up allowing you to name the zip file.

These detailed instructions were kindly curated by our TA Jennifer Thompson.