Skip to content
Permalink
Browse files

MAINT: Remove shell extension, use EOF for readable R code

  • Loading branch information
pan14001 committed Jun 23, 2017
1 parent 479076a commit e281064719d14f103812c85294676ff52eb23c00
Showing with 6 additions and 2 deletions.
  1. +6 −2 h2o.slurm
@@ -11,7 +11,11 @@ module purge
module load r/3.3.3

# Launch h2o cluster.
./dietslurm.sh
./dietslurm

# Run the R script.
Rscript -e 'library(h2o); h2o.init(); system(paste0("cat /proc/", Sys.getpid(), "/status"))'
Rscript - <<EOF
library(h2o)
h2o.init()
EOF

0 comments on commit e281064

Please sign in to comment.
You can’t perform that action at this time.