Table of Contents

R Statistical Language

Installation

Linux

yum install R

Download Rstudio Desktop from http://www.rstudio.com/ and install via yum For example, yum install rstudio-0.98.501-x86_64.rpm

Windows

Download install files from http://cran.r-project.org/bin/windows/base/ and install.

Install the “matrixStats” package using the RGui Select <Packages><Install packages(s)…> If this is the first time installing a package you will be asked to select CRAN mirror. If ask for CRAN mirror select the closest, i.e. USA (OH) From the list of packages select “matrixStats” Answer yes to “Would you like to use a personal library instead”. Answer yes to the question about creating directory if asked.

Script Execution

Linux

Assuming that the script is file is name 'Appendix_A_Script', then execute using source(“Apendix_A_Script”)