cc_staff
782
edits
(Installing more R packages - contents) |
(Reduced the size of the procedure) |
||
Line 250: | Line 250: | ||
<ol> | <ol> | ||
<li>From a local terminal or any SSH client, connect to a login node of the cluster hosting JupyterHub | <li>From a local terminal or any SSH client, connect to a login node of the cluster hosting JupyterHub. | ||
<li>Load the same R module. {{Command2|module load r/4.1}} | <li>Load the same R module. {{Command2|module load r/4.1}} | ||
<li>Start the R shell | <li>Start the R shell and install any required package. For example <code>doParallel</code>. {{Command2|R --no-save}} {{Command2|prompt=> |install.packages('doParallel', repos{{=}}'http://cran.us.r-project.org')}} | ||
<li>Quit R (with <code>q()</code>) and close the remote session | <li>Quit R (with <code>q()</code>) and close the remote session | ||
<li>The newly installed R packages should already be usable in a Notebook executed by the R kernel. | <li>The newly installed R packages should already be usable in a Notebook executed by the R kernel. |