Difference between revisions of "R/Interactive"
From ScientificComputing
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | You can start an interactive R session on the login node by typing the command | + | You can start an interactive R session on the login node by typing the command <tt>R</tt>. |
− | [leonhard@euler04 ~]$ '''module load new r/3.3.0''' | + | [leonhard@euler04 ~]$ '''module load new gcc/4.8.2 r/3.3.0''' |
Using OpenBLAS build of R-3.3.0 | Using OpenBLAS build of R-3.3.0 | ||
[leonhard@euler04 ~]$ '''R''' | [leonhard@euler04 ~]$ '''R''' | ||
Line 29: | Line 29: | ||
installed.packages() | installed.packages() | ||
− | If the package that you would like to use is not yet installed, then you can either install it locally or contact | + | If the package that you would like to use is not yet installed, then you can either install it locally or contact {{Cluster_support}}. |
Revision as of 10:56, 13 March 2017
You can start an interactive R session on the login node by typing the command R.
[leonhard@euler04 ~]$ module load new gcc/4.8.2 r/3.3.0 Using OpenBLAS build of R-3.3.0 [leonhard@euler04 ~]$ R R version 3.3.0 (2016-05-03) -- "Supposedly Educational" Copyright (C) 2016 The R Foundation for Statistical Computing Platform: x86_64-slackware-linux-gnu (64-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. Natural language support but running in an English locale R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. >
Interactive R sessions can for instance be used to install additional R packages locally, or to check which R packages are centrally installed. The list of already installed packages can be displayed with the following R command in an interactive session:
installed.packages()
If the package that you would like to use is not yet installed, then you can either install it locally or contact cluster support.