Skip to content

RStudio usage⚓︎

Create a free RStudio Cloud account⚓︎

RStudio website⚓︎

Posit Cloud pricing page with the “Free” plan selected (label 1). The page shows features of the free tier and a large “Sign Up” button highlighted (label 2) for creating an account.

  1. Go to RStudio website and choose “Free.”
  2. Click "Sign up."

Email address and a password⚓︎

Sign-up form with labeled fields: (1) email input box, (2) password input box, and (3) a “Sign up” button below for creating an account.

  1. Put your email address
  2. Put a password (at least 10 characters). You must:
    1. Use upper and lower case letters
    2. Use numbers
    3. Use special characters
  3. Click "Sign up".

Verification⚓︎

  1. Go to your email inbox and click “Verify.”
  2. You will be directed to RStudio website. If not, click on the link.

New project (RStudio labs)⚓︎

Posit Cloud workspace screen showing steps to create a project: (1) click “New Project,” (2) select “New RStudio Project” from the dropdown, and (3) the RStudio interface opens below in the workspace.

  1. Click "New Project."
  2. Choose "New RStudio Project."
    1. You will wait 10-15 second while RStudio deploys the project. If it takes longer, refresh your page.
  3. On the new screen, click on “Untitled Project” and type “RStudio labs”.

    RStudio labs project

    Many users mistakenly create a separate project for each lab. This is incorrect.
    You will not create a new project for each lab.
    Instead, you will always work within the existing 'RStudio labs' project throughout the modules.

Install R and RStudio to your personal computer⚓︎

  • You can download R and RStudio to your personal computer.

Mac users⚓︎

macOS 13 and higher - Apple silicon (M1-5):⚓︎

  1. Download R (4.5.3)
  2. Download RStudio (2026.01.2+418)

For older Intel Macs:⚓︎

  1. Download R (4.5.3)
  2. Download RStudio (2024.04.2+764)

    System Preferences

    macOS may want you to allow it to download.
    Open System Preferences ➜ Security & Privacy ➜ General ➜ Allow (you may need to click the lock at the bottom to unlock).

Windows users⚓︎

Windows 10 and higher⚓︎

  1. Download R (4.5.3)
  2. Download RStudio (2026.01.2+418)

    System Preferences

    Windows users may need to change some of their settings.
    Select Start ➜ Settings ➜ Apps ➜ Apps & features.
    Under Installing apps, select "Allow apps from anywhere."

Using RStudio on a university lab computer⚓︎

  • Every time you log in to a lab computer, the R script files will install all the packages again.
  • Because when you log out, lab computers revert to their factory settings and deletes the installed packages.

    1. Type "RStudio" on the search bar of the computer. Open RStudio.
    2. On RStudio, run the R script file code on the console.

RStudio Cloud FAQs⚓︎

What to do if RStudio Cloud crashes?⚓︎

  • This may happen if your RStudio session consumes too much ram.

    RStudio Cloud interface showing steps after a crash: (1) an unsaved script tab marked with a red name and asterisk, (2) save button to save the script, (3) three-dot menu in the top-right, and (4) “Relaunch Project” option selected to restart the session.

    1. When we make any changes, the font of the file name will be red with an asterisk (*).
    2. Save your unsaved RScript file.
    3. Click the three dots next to the settings gear.
    4. Click "Relaunch Project."

      System Preferences

      After relaunching, we need to use the R Script file code again.

How to check how many hours left in RStudio Cloud?⚓︎

  • An RStudio Cloud free account allows you 25 hours of connect time per month.
  • Every second the RStudio Cloud is open counts towards this allocated time.
  • Therefore, whenever you are not running code or generating analyses, close the RStudio Cloud browser

    Account settings panel in Posit Cloud showing (1) access via the user profile icon, (2) current usage period dates, and (3) compute hours used out of the monthly limit.

    1. Click on your name.
    2. Check the time period.
    3. Check how many hours you have spent.

What to do if you exceed 25 hours per month?⚓︎

  • 25 hours of connect time is enough for the modules. If you exceed this limit, open another free account using a different email address.

What to do if you want your new free account to be identical (files, packages, etc.) to the previous account where you exceeded the time limit?⚓︎

  • Go to the previous account where you exceeded the time limit.

    Posit Cloud “Your Content” page showing (1) the project export/download icon, (2) a pop-up with a “Download” button to save the exported project, and (3) the RStudio Files pane highlighting the “Upload” button for importing files.

    1. Click "Export"
    2. Click "Download"
      1. It will download a zip file.
    3. Go to your new account. Upload that zip file to your new account.