.. reproducible research tutorial file, created by ARichards R = The `R `_ computing environment is the *Lingua franca* for the statistics community. R is already adapted to reproducible research, most commonly through the use of :doc:`Sweave` and the R community is actively addressing the problem of `reproducibility `_ as evidenced by the number of `reproducible research packages in CRAN `_. Installation ----------------- If you do not already have `R `_ installed on your machine then: GNU/Linux ^^^^^^^^^ Under Debian-based GNU/Linux distros: .. code-block:: none ~$ sudo apt-get install r-base-dev Under Fedora/Red Hat distros: .. code-block:: none ~$ sudo yum install R Mac OS X ^^^^^^^^ Visit the `official installation page for OS X `_. Windows ^^^^^^^ Visit the `official installation page for Windows `_. Also there is a `Windows install FAQ `_ page. Running R ------------ <>= ans <- 2 + 5 print(ans) @ R can be thought of as a calculator that does a great many things. It is important to understand that R can be run **interactively** or as a **script**. Useful links ^^^^^^^^^^^^^^^ * :doc:`LearningR` * The `official R website `_ * The `Use R conference `_