Run long code in Ubuntu VM
Run the R code xxxx.R in background.
nohup Rscript xxxx.R > mon_script_$(date +%Y%m%d_%H%M).log 2>&1 & echo $!
It seems safer than running a backgound job in Rstudio-server
Run the R code xxxx.R in background.
nohup Rscript xxxx.R > mon_script_$(date +%Y%m%d_%H%M).log 2>&1 & echo $!
It seems safer than running a backgound job in Rstudio-server
Commentaires
Enregistrer un commentaire