Library Carpentry: Introduction to R – Part 2
Introduction to the basic R programming language syntax, data structures, and data science tools. After this workshop, learners will be able to:
- Download, install and use RStudio
- Understand the basic R syntax
- How to read in and use data in R
- Basic R data types & structures
Setup and Configuration
R is a programming language that is especially powerful for data exploration, visualization, and statistical analysis. To interact with R, we use RStudio.
Install R by downloading and running this .exe file from CRAN. Also, please install the RStudio IDE. If you have separate user and admin accounts, you should run the installers as an administrator (right-click on the .exe file and select “Run as administrator” instead of double-clicking). Otherwise, problems may occur later, for example, when installing R packages.
Install R by downloading and running this .pkg file from CRAN. Also, please install the RStudio IDE.
You can download the binary files for your distribution from CRAN. Or you can use your package manager (e.g., for Debian/Ubuntu run sudo apt-get install r-baseand Fedora run sudo dnf install R). Also, please install the RStudio IDE.