Changes between Version 25 and Version 26 of cypress/R
- Timestamp:
- 08/19/25 11:00:03 (39 hours ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
cypress/R
v25 v26 4 4 5 5 == R Modules == 6 You can list the versions of R available on Cypress as modules with the '''module avail''' command as in the following example. 7 8 {{{ 9 [tulaneID@cypress1 ~]$module avail R 10 --------------------------------------- /share/apps/modulefiles ---------------------------------------- 11 R/3.1.2(default) R/3.2.5-intel R/3.4.1-intel R/3.6.1-intel 12 R/3.2.4 R/3.3.1-intel R/3.5.2-intel ROOT/5.34.36 6 You can list the versions of R available on Cypress as modules with the '''module avail''' command as in the following example, including the "/" character to show only R modules. 7 8 {{{ 9 [tulaneID@cypress1 ~]$module avail R/ 10 11 ------------------------------------------------- /share/apps/modulefiles -------------------------------------------------- 12 R/3.1.2(default) R/3.2.5-intel R/3.4.1-intel R/3.6.1-intel R/4.1.1-intel 13 R/3.2.4 R/3.3.1-intel R/3.5.2-intel R/4.1.0-intel 14 15 --------------------------------------------- /share/apps/centos7/modulefiles ---------------------------------------------- 16 R/4.3.2 R/4.4.1 13 17 }}} 14 18 … … 17 21 See [[cypress/XeonPhi]]. 18 22 23 Also, the later versions of R require a later version, CentOS 7, of the operating system running on compute nodes in their own SLURM partition. 24 19 25 == Running R Interactively == 20 26 27 === Start an interactive session using idev === 28 29 In the following we'll use the latest version of R available. 30 21 31 ==== For Workshop ==== 22 If you use a temporary workshop account, do this. 32 33 If the primary group of your account is '''workshop''', then in order to use only 2 cpu's per node and thus allow for sharing the few available nodes in the interactive partition among many users, do this. 34 23 35 {{{ 24 36 export MY_PARTITION=workshop 25 37 export MY_QUEUE=workshop 26 }}} 27 28 Start an interactive session using idev 29 38 [tulaneID@cypress1 ~]$ idev -c 2 39 }}} 40 41 42 ==== Non-workshop ==== 30 43 {{{ 31 44 [tulaneID@cypress1 ~]$ idev … … 42 55 }}} 43 56 44 ==== For Workshop ==== 45 If you use a temporary workshop account, in order to use only 2 cpu's per node and thus allow for sharing the few available nodes in the interactive partition among many users, do this. 46 {{{ 47 [tulaneID@cypress1 ~]$ idev -c 2 48 }}} 49 50 Load the R module 51 52 {{{ 53 [tulaneID@cypress01-121 ~]$ module load R/3.2.4 57 === Load the R module === 58 59 {{{ 60 [tulaneID@cypress01-121 ~]$ module load R/4.1.1-intel 54 61 [tulaneID@cypress01-121 ~]$ module list 55 62 Currently Loaded Modulefiles: 56 1) slurm/14.03.0 3) bbcp/amd64_rhel60 57 2) idev 4) R/3.2.4 58 }}} 59 60 Run R in the command line window 63 1) slurm/14.03.0 6) mpfr/4.1.0 11) xz/5.2.2 16) libtiff/4.3.0 64 2) idev 7) mpc/1.2.1 12) pcre2/10.38 17) R/4.1.1-intel 65 3) bbcp/amd64_rhel60 8) gcc/6.3.0 13) tcl/8.6.11 66 4) intel-psxe/2019-update1 9) zlib/1.2.8 14) tk/8.6.11 67 5) gmp/6.2.1 10) bzip2/1.0.6 15) libpng/1.6.37 68 }}} 69 70 === Run R in the command line window === 61 71 62 72 {{{ 63 73 [tulaneID@cypress01-121 ~]$R 64 74 65 R version 3.2.4 (2016-03-10) -- "Very Secure Dishes"66 Copyright (C) 20 16The R Foundation for Statistical Computing75 R version 4.1.1 (2021-08-10) -- "Kick Things" 76 Copyright (C) 2021 The R Foundation for Statistical Computing 67 77 Platform: x86_64-pc-linux-gnu (64-bit) 68 78 … … 70 80 You are welcome to redistribute it under certain conditions. 71 81 Type 'license()' or 'licence()' for distribution details. 72 73 Natural language support but running in an English locale74 82 75 83 R is a collaborative project with many contributors.