MSKCC-Epi-Bio/bstfun

New fn to grab passed args in Linux env when script passed in terminal

ddsjoberg opened this issue · 0 comments

Something like this?

ifelse(is.na(as.integer(Sys.getenv("SLURM_ARRAY_TASK_ID"))), as.integer(commandArgs(trailingOnly=TRUE)), as.integer(Sys.getenv("SLURM_ARRAY_TASK_ID")))