How to use RStudio on a computer without using a browser

Using RStudio on a university lab computer

Every time you log in to a lab computer, you have to run "install and load packages" codes.

Because when you log out, lab computers revert to their factory settings and deletes the installed packages.

  1. First, download the R Script file that you want to use. All R Script files here.

  2. Type "RStudio" on the search bar of the computer. Open RStudio.

  3. On RStudio, Click File ➜ Open File.

  4. Find the Script file that you just downloaded, and click Open.

  5. DO NOT DOUBLE CLICK R SCRIPT FILES. It may open R, instead of RStudio.

Downloading R and RStudio to a personal computer

You can download R and RStudio to your personal computer. "Install and load packages" codes will install the packages once, but every time you open RStudio on your personal computer, you should run "Install and load packages" again.

Mac users

Check your macOS version

Mac Users (macOS 12+) and Apple silicon (M1-3) Macs:

1. Download R (4.4.1)

2. Download RStudio (2024.04.2+764)

Mac Users (macOS 12+) and older Intel Macs:

1. Download R (4.4.1)

2. Download RStudio (2024.04.2+764)

Mac Users (macOS El Capitan and older)

1. Download R (3.6.3)

2. Download RStudio (1.4.1717)

macOS may want you to allow it to download. Open System Preferences, navigate to Security & Privacy, and then General. See the photo below and hit allow (you may need to click the lock at the bottom to unlock)

Video guidance (macOS)

Windows Users

1. Download R (4.4.1)

2. Download RStudio (2024.04.2-764)

Windows users may need to change some of their settings.

Select Start > Settings > Apps > Apps & features. Under Installing apps, select "Allow apps from anywhere"

Video guidance (Windows)

Last updated