XYZ File Manager
Current Path:
/usr/share/Modules/init
usr
/
share
/
Modules
/
init
/
📁
..
📄
bash
(1.7 KB)
📄
bash_completion
(12.53 KB)
📄
cmake
(1.2 KB)
📄
csh
(232 B)
📄
fish
(867 B)
📄
fish_completion
(13 KB)
📄
ksh
(1.7 KB)
📁
ksh-functions
📄
lisp
(3.15 KB)
📄
perl.pm
(764 B)
📄
profile.csh
(109 B)
📄
profile.sh
(479 B)
📄
python.py
(1.14 KB)
📄
r.R
(1005 B)
📄
ruby.rb
(883 B)
📄
sh
(2.08 KB)
📄
tcl
(1.1 KB)
📄
tcsh
(233 B)
📄
tcsh_completion
(7.78 KB)
📄
zsh
(1.99 KB)
📁
zsh-functions
Editing: r.R
# define modules runtime quarantine configuration Sys.setenv('MODULES_RUN_QUARANTINE'='LD_LIBRARY_PATH LD_PRELOAD') # setup quarantine if defined mlre <- '' if (!is.na(Sys.getenv('MODULES_RUN_QUARANTINE', unset=NA))) { for (mlv in strsplit(Sys.getenv('MODULES_RUN_QUARANTINE'), ' ')[[1]]) { if (grepl('^[A-Za-z_][A-Za-z0-9_]*$', mlv)) { if (!is.na(Sys.getenv(mlv, unset=NA))) { mlre <- paste0(mlre, "__MODULES_QUAR_", mlv, "='", Sys.getenv(mlv), "' ") } mlrv <- paste0('MODULES_RUNENV_', mlv) mlre <- paste0(mlre, mlv, "='", Sys.getenv(mlrv), "' ") } } if (mlre != '') { mlre <- paste0('env ', mlre, '__MODULES_QUARANTINE_SET=1 ') } } # define module command and surrounding initial environment (default value # for MODULESHOME, MODULEPATH, LOADEDMODULES and parse of init config files) cmdpipe <- pipe(paste0(mlre, '/usr/bin/tclsh "/usr/share/Modules/libexec/modulecmd.tcl" r autoinit')) eval(parse(cmdpipe)) close(cmdpipe)
Upload File
Create Folder