You can also look at ?Rscript. There are tutorials online for writing such
scripts.

On Sun, Jan 22, 2012 at 9:31 AM, David Winsemius <dwinsemius@comcast.net>wrote:

>
> 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
>
>
> ______________________________**________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/**listinfo/r-help<https://stat.ethz.ch/mailman/listinfo/r-help>
> PLEASE do read the posting guide http://www.R-project.org/**
> posting-guide.html <http://www.R-project.org/posting-guide.html>
> and provide commented, minimal, self-contained, reproducible code.
>

	[[alternative HTML version deleted]]

