Intro to RStudio Cloud

How to setup RStudio Cloud for Collaboration

Team pol346 pol346.com (Princeton University, Department of Politics)princeton.edu/politics
2020-05-04

Please note, this is a DRAFT. If you have any difficulty or suggestiongs, feedback is welcome. Please email .

  1. Go to https://rstudio.cloud

  2. Click Sign-up and create an account

  3. Once you have an account and are logged in to RStudio Cloud, click New Project

  4. Toward the top of the screen, click “Untitled Project” and rename your project something like “Report2_proj”

  5. Adjust the settings so you can share this project with teammates:

    • click the GEAR icon in the upper right of the window
    • click the ACCESS lock icon, and change the pop-up menu to EVERYONE

  1. Invite your teammates to join the project by clicking the CIRCLE DOTS menu and select SHARE PROJECT LINK.

  1. See the GUIDE in the left navigation for more detail on sharing and saving or follow this link: https://rstudio.cloud/learn/guide

  1. To upload your Rmd files and data, find the FILES pane \(\rightarrow\) UPLOAD tab.

  1. For more detail on uploading, see this link: https://support.rstudio.com/hc/en-us/articles/200713893-Uploading-and-Downloading-Files

  2. You will need to install packages. If you are only using a few packages, the fastest solution will be to run install.packages() for those specific packages.

    • A simple but slower solution is to install all the packages that we recommend for POL346 by copying and pasting the following command into your RStudio Cloud console (this will take a few minutes:
      source("http://pol346.com/POL346_2020_packages.R")