R: Difference between revisions

Jump to navigation Jump to search
6 bytes removed ,  5 years ago
no edit summary
No edit summary
No edit summary
Line 94: Line 94:
To install packages from [https://cran.r-project.org/ CRAN], you can use <tt>install.packages</tt> while running an interactive R session on the cluster's login node. Many R packages are developed using the GNU family of compilers so we recommend that you load a <tt>gcc</tt> [[Utiliser des modules/en|module]] before trying to install any R packages. Use the same version of the <tt>gcc</tt> for all packages you install.
To install packages from [https://cran.r-project.org/ CRAN], you can use <tt>install.packages</tt> while running an interactive R session on the cluster's login node. Many R packages are developed using the GNU family of compilers so we recommend that you load a <tt>gcc</tt> [[Utiliser des modules/en|module]] before trying to install any R packages. Use the same version of the <tt>gcc</tt> for all packages you install.
{{Command
{{Command
|module load gcc/5.4.0
|module load gcc
}}
}}
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:
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:
Bureaucrats, cc_docs_admin, cc_staff
2,306

edits

Navigation menu