parallel_rscripts.Rd
Run R Scripts Parallel with System Control
parallel_rscripts(
rscript_path,
args,
used_memory_treshold = 75,
used_cpu_treshold = 75,
sleep_time = 10,
swap = 8,
process = F
)
path of rscript.
input arguments of rscript.
upper bound for memory usage
upper bound for CPU usage
sleep time between two jobs in seconds
server swap memory in GB
Boolean variable to see function messages