[R] Basic doubts on the use of several script files in R batch mode

Patrick Burns pburns at pburns.seanet.com
Sat Apr 4 19:39:03 CEST 2009


An alternative to Jim's route might be to create
functions rather than relying entirely on scripts.


Patrick Burns
patrick at burns-stat.com
+44 (0)20 8525 0696
http://www.burns-stat.com
(home of "The R Inferno" and "A Guide for the Unwilling S User")

jim holtman wrote:
> Create a "master" file that 'source's the required *.R files and then
> does any of the pre/post processing that you want.
>
> On Fri, Apr 3, 2009 at 4:30 PM,  <mcnda839 at mncn.csic.es> wrote:
>   
>> I already searched for information regarding the batch file operations
>> within R. But I could not locate the information I need.
>>
>> Basically I have a doubt regarding the procedures on the batch use of
>> several script files (*.R).
>> How can I do this?
>> How can I define the order of files?
>>
>> My intention is to programme openings, math operations and savings of
>> *.Rdata sessions, but in a sequential manner.
>>
>> Thanks in advance,
>>
>> Diogo André Alagador
>> Biochange Lab, Madrid, Spain
>>
>> ______________________________________________
>> 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.
>>
>>     
>
>
>
>




More information about the R-help mailing list