I haven't been able to find an example of using R with interactive = FALSE. How do I start R such that 1. it loads a workspace 2. then starts execution with a function (in that workspace) that I choose 3. exits on completion Thanks. [[alternative HTML version deleted]]
R. Michael Weylandt <michael.weylandt@gmail.com>
2012-Jan-22 13:45 UTC
[R] R interactive = FALSE
It will depend on your OS but on unix-alikes, R CMD BATCH scriptname.R (Can't remember if batch is all caps or not) Michael On Jan 22, 2012, at 6:01 AM, Ajay Askoolum <aa2e72e at yahoo.co.uk> wrote:> I haven't been able to find an example of using R with interactive = FALSE. > > How do I start R such that > > 1. it loads a workspace > 2. then starts execution with a function (in that workspace) that I choose > > 3. exits on completion > > Thanks. > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > 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.
On Jan 22, 2012, at 6:01 AM, Ajay Askoolum wrote:> I haven't been able to find an example of using R with interactive = > FALSE. > > How do I start R such that > > 1. it loads a workspace > 2. then starts execution with a function (in that workspace) that I > choose > > 3. exits on completion >?BATCH -- David Winsemius, MD West Hartford, CT