Hi,

I am using renv (https://rstudio.github.io/renv/) to maintain a project
environment in a directory (ala /path/to/project)


Within the project I have a number of scripts that I call using...

$ Rscript /path/to/script.R /path/to/config_file

I can kick this off successfully with the renv environment when I manually
start Rscript within the project directory. Now I would like to be able to
hand the script kick off to either crontab or the PBS queueing system.

At first I thought I would actually call a wrapper script such that
accepted two arguments '/path/to/script.R' and '/path/to/config_file'. I
planned to use

renv::run('/path/to/script.R',


-- 
Ben Tupper
Bigelow Laboratory for Ocean Science
East Boothbay, Maine
http://www.bigelow.org/
https://eco.bigelow.org

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to