Starting with R¶
Sell It¶
R is a powerful language for statistics and visualization with an active community. Packages like tidyverse make data wrangling intuitive, and the language was designed with data analysis in mind from the start.
Show It¶
An example script plots a built-in dataset to produce an immediate visualization:
plot(cars)
Do It¶
- Install R. Download the latest version from the R Project.
- Install RStudio. Get the free RStudio Desktop IDE for a user-friendly interface.
- Open RStudio. Create a new script file and paste in the example above.
- Install a package. Run
install.packages("tidyverse")
to add common tools for data science. - Run the script. Highlight the code and click Run or press
Ctrl+Enter
to generate the plot.
Review It¶
Confirm the plot appears in the Plots pane and use sessionInfo()
to see
package versions. Explore the Environment and Help tabs to get
comfortable with the interface.