Learn how to install R locally to solve Exercism's exercises on your own machine
Visit the CRAN homepage. There you will find download links for Linux, Mac OSX, and Windows. Download and run the installer for your operating system.
Download and install the current stable version of RStudio. Or, alternatively, get the preview version of an upcoming release.
The test runner for the specs is the
testthat library from Hadley Wickham, which is a popular choice for R package authors.
To install this library, type the following in your RStudio console (or wherever you are using R).
While it is unlikely that you will need to install packages to solve the exercism problems, you may want to bring in a general-purpose utility packages like
magrittr that suit your programming style. To install and load a package like