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 <aa2e...@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@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. ______________________________________________ R-help@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.