You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Information

Purpose: Statistics and plotting
Latest version: 3.5.5
License: Open Source - GNU GPL
Website: https://www.r-project.org/ extlink-icon

R is a language and environment for statistical computing and plotting.

R implements tools for data analysis, array operators (especially matrices), I/O features, graphical output features, and a high-level language (S) for integrating all of them, including user-defined variables, loops, etc.

 


 

SLURM Submit script example

For more information use the Job Script Generator.

R_example.slm
#!/bin/bash
#SBATCH -J R_example
#SBATCH -e R_example.err
#SBATCH -o R_example.out
#SBATCH -p std
#SBATCH --nodes=1
#SBATCH --ntasks=1
#SBATCH --cpus-per-task=1
#SBATCH --mem=4G

module load apps/R/3.5.5
 
INPUT_DIR=${PWD}
OUTPUT_DIR=${PWD}

cd $TMPDIR
cp -r $INPUT_DIR $TMPDIR
Rscript R_example.R > R_example.out
cp ./* $OUTPUT_DIR

 

 


 

  • No labels