R Programming Language
Introduction
R is a language and environment for statistical computing and graphics.
Documentation
The project website is https://www.r-project.org.
Initialisation
Be careful which version you are using, there may be an older version
installed in /usr/bin with the Operating System. The latest version
should be in /usr/local/bin/R
which R
will tell you which version to use. The command below will change your
PATH variable to put /usr/local/bin before /usr/bin.
setenv PATH /usr/local/bin:${PATH}
Version
On Tuesday, 08 November 2016 the version is 3.3.2
R tells you which version it is on startup.
Local Modifications
Put the following in a file called .Rprofile in your home directory (ie ~/.Rprofile).
# Options for the R programming language
#
# Curl does not seem to work
options(download.file.method="wget")
# Set a default repo
local({r <- getOption("repos")
r["CRAN"] <- "https://www.stats.bris.ac.uk/R/"
options(repos=r)})
message("Loaded local options")
Related Software
The S programming language
Rhys Morris
Last modified: Tuesday, 08 November 2016