Skip to content
Back to formatted view

Raw Message

Message-ID: <48DCE5F4.30805@uib.no>
Date: 2008-09-26T13:39:00Z
From: Michael Schulte
Subject: include scripts into main file (the LaTeX way)
In-Reply-To: <77B1DED7-24F9-4CFC-A151-A4D658F43E20@exeter.ac.uk>

source() does the trick
thanks to you all!
m

baptiste auguie wrote:
> you mean like ?source ?
> 
> On 26 Sep 2008, at 13:49, Michael Schulte wrote:
> 
>> Dear R-people,
>>
>> I want to use an idea from LaTeX in the work flow with R.
>> It is possible in LaTeX to have a main file from which other files are 
>> called (ie included).
>> So for example if you have book, the main index file would call each 
>> chapter separately.
>>
>> Is there something comparable in R that follows the above 'include' 
>> idea from LaTeX?
>> A main file that calls parts of an analysis or data preparation 
>> separately.
>>
>> Thanks!
>> Michael
>>
>> ______________________________________________
>> 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.
>