1 + 1[1] 2
R.version.string[1] "R version 4.5.2 (2025-10-31)"
Quick Guide for Mac and Windows
R is the engine for statistical computing; RStudio is the interface that makes it easier to use. You need both.
Requirements: ~500 MB disk space, 4 GB RAM (min 8 GB recommended), Windows 10/11 or macOS 12+, ~15–20 min install.
.pkg for your processor
R-4.5.2-arm64.pkg = Apple Silicon (M1/M2/M3)R-4.5.2-x86_64.pkg = Intel MacOpen RStudio and in the Console (bottom left panel), type:
1 + 1[1] 2
R.version.string[1] "R version 4.5.2 (2025-10-31)"
You should see [1] 2 and your R version ([1] "R version 4.x.x (202x-0x-1x)") printed in the Console.
install.packages("tidyverse")
install.packages("srvyr")
install.packages("survey")
install.packages("broom")
install.packages("gt")If everything runs without errors, your setup is complete! You’re now ready to start using R and RStudio for data analysis and visualization. 🎉
If you experience problems or your computer does not meet the minimum requirements, you can set up a free Posit Cloud account. Posit Cloud lets you run R and RStudio directly in your web browser—no installation is required—and you can access your projects from any computer with an internet connection.