Installing R and R Studio

I spend a lot of time learning and practicing with new programming languages. My current goal is to learn R, and I’ll be sharing my notes on the Westmorr blog to track my progress. The first step is installing R and R Studio.

Installing R

I’m using Windows though I may eventually move to my Linux Mint machine.

  1. Navigate to https://cran.r-project.org/
  2. Choose the base install (has a note “if you’re installing R for the first time).
  3. Presently, R-4.1.0.
  4. Choose the “User Installation”, and left all aspects of install options selected
    • Core
    • 32-bit
    • 64-bit
    • Message Translations
  5. Chose all other defaults

After the installation is complete, I find “R” 32 and 64 bit options in my PC applications. Launching the 64-bit application in-turn launches the 64 bit console.

R is successfully installed.

R Console

Installing R Studio

  1. Navigate to https://www.rstudio.com/products/rstudio/
  2. Installed RStudio Desktop 1.4.1717 for Windows 10
  3. Chose all default options

I saw some literature on the site about VS Code support. I may revisit that later because I work extensively in that IDE.

With that, the R Studio IDE is now installed:

R Studio IDE

I prefer a dark theme, so set them (via Tools > Global Options > Appearance), and ran a quick Hello World demo.

R Programming Hello World

R and R studio are now installed and validated by running this script.



Categories: R Programming

Tags: ,

3 replies

Trackbacks

  1. R Scatter Plot with GGPlot2 - Westmorr Consulting
  2. R Programming While and For Loops - Westmorr Consulting
  3. R Vector Operations - Westmorr Consulting

Leave a Reply

%d bloggers like this: