Bureaucrats, cc_docs_admin, cc_staff
2,320
edits
(Marked this version for translation) |
No edit summary |
||
Line 90: | Line 90: | ||
== Installing R packages == <!--T:11--> | == Installing R packages == <!--T:11--> | ||
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: | To install packages from [https://cran.r-project.org/ CRAN], you can use the <tt>install.packages</tt> facility inside the R interpreter. Many R packages are developed using the Gnu family of compilers so we recommend that you load a <tt>gcc</tt> module before trying to install any R packages, using the same version of the <tt>gcc</tt> module for each package: | ||
{{Command | |||
|module load gcc/5.4.0 | |||
}} | |||
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: | |||
<!--T:12--> | <!--T:12--> |