Setup on the Local Machine
Learn how to set up R on your local machine and get some tips for using RStudio.
Obtaining R
If you are brand new to this, you will have to download R in order to do anything. Just navigate your web browser to http://cran.rproject.org to download the appropriate R version for your operating system. There is another program you may have heard of and may want to use called RStudio, which can be found at http://www.rstudio.com.
RStudio
Please remember that RStudio is a program that uses R. It helps keep things organized and has some nice autocomplete functions, but R is the actual program that does everything that we have covered in this course. RStudio has plenty of great features, don’t get me wrong. It’s really great for writing in RMarkdown and LaTeX if you choose to do that. R does all the heavy lifting. R is the statistics program.
Installing and loading packages
R is designed to be a small program (currently just about 80 MB) which makes it easy to download and install anywhere in the world. The base version of R contains a great number of functions for organizing and analyzing data, but the real strength comes in what are called packages. Packages are freely downloadable additions to R ...