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.
I’m using Windows though I may eventually move to my Linux Mint machine.
- Navigate to https://cran.r-project.org/
- Choose the base install (has a note “if you’re installing R for the first time).
- Presently, R-4.1.0.
- Choose the “User Installation”, and left all aspects of install options selected
- Message Translations
- 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.
Installing R Studio
- Navigate to https://www.rstudio.com/products/rstudio/
- Installed RStudio Desktop 1.4.1717 for Windows 10
- 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:
I prefer a dark theme, so set them (via Tools > Global Options > Appearance), and ran a quick Hello World demo.
R and R studio are now installed and validated by running this script.
Categories: R Programming