Bureaucrats, cc_docs_admin, cc_staff
2,919
edits
(link to CRAN) |
|||
Line 1: | Line 1: | ||
"R is a system for statistical computation and graphics. It consists of a language plus a run-time environment with graphics, a debugger, access to certain system functions, and the ability to run programs stored in script files." | "R is a system for statistical computation and graphics. It consists of a language plus a run-time environment with graphics, a debugger, access to certain system functions, and the ability to run programs stored in script files." | ||
Even though R was not developed for high performance computing (HPC), its popularity with scientists from a variety of disciplines, including engineering, mathematics, statistics, bioinformatics, etc. makes it an essential tool on HPC installations dedicated to academic research. Features such as C extensions, byte-compiled code and parallelisation allow for reasonable performance in single-node jobs. Thanks to R’s modular nature, users can customize the R functions available to them by installing packages from the Comprehensive R Archive Network (CRAN) into their home directories. | Even though R was not developed for high performance computing (HPC), its popularity with scientists from a variety of disciplines, including engineering, mathematics, statistics, bioinformatics, etc. makes it an essential tool on HPC installations dedicated to academic research. Features such as C extensions, byte-compiled code and parallelisation allow for reasonable performance in single-node jobs. Thanks to R’s modular nature, users can customize the R functions available to them by installing packages from the Comprehensive R Archive Network ([https://cran.r-project.org/ CRAN]) into their home directories. | ||
== The R interpreter == | == The R interpreter == | ||
Line 40: | Line 40: | ||
== Installing R packages == | == Installing R packages == | ||
To install packages from CRAN, you can use the <tt>install.packages</tt> facility inside the R interpreter. For example, to install the <tt>sp</tt> package that provides classes and methods for spatial data, use the following command on a login node: | To install packages from [https://cran.r-project.org/ CRAN], you can use the <tt>install.packages</tt> facility inside the R interpreter. For example, to install the <tt>sp</tt> package that provides classes and methods for spatial data, use the following command on a login node: | ||
{{Command | {{Command |