Skip to content
Snippets Groups Projects
Commit 467b2f53 authored by Todor Kondić's avatar Todor Kondić
Browse files

runme: Add future control

parent c5006a49
No related branches found
No related tags found
No related merge requests found
Pipeline #69287 canceled
#!/bin/Rscript
nthreads = Sys.getenv("SS_CPU")
nthreads = as.integer(Sys.getenv("SS_CPU"))
mf_db_dir = Sys.getenv("SS_MF_DB_DIR")
user = Sys.getenv("SS_USER")
library(future)
plan("sequential")
plan("multisession",workers=nthreads)
if (nthreads > 1L) plan("multisession",workers=nthreads)
library(shinyscreen)
carg = commandArgs(trailingOnly=T)
eo = init(metfrag_db_dir=mf_db_dir)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment