[R] how to split and handle a big R program into multiple files
baptiste auguie
ba208 at exeter.ac.uk
Thu Apr 23 11:48:38 CEST 2009
If most of the functions are quite stable (you don't change them too
often), you could also consider creating a R package with
package.skeleton.
baptiste
On 23 Apr 2009, at 10:39, jgarcia at ija.csic.es wrote:
> source() and the use of functions
> ...
> Javier
> ---
>
>> I am working on a program totally written in R which is now getting
>> bigger
>> and bigger so that editling the only file that contains all the
>> functions
>> is becoming more and more unmanageable.
>> I wonder whether it is possible to spread the R code, making up the
>> same
>> program, in a number of smaller files and then call them all, in
>> the right
>> order, through a list of something like the C language <include>
>> directive.
>>
>> Any other suggestion how to organize, handle, and maintain a big R
>> program
>> is welcome.
>>
>> Thank you in advance,
>> Maura
>>
>>
>> tutti i telefonini TIM!
>>
>>
>> [[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.
>>
>
> ______________________________________________
> 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.
_____________________________
Baptiste Auguié
School of Physics
University of Exeter
Stocker Road,
Exeter, Devon,
EX4 4QL, UK
Phone: +44 1392 264187
http://newton.ex.ac.uk/research/emag
More information about the R-help
mailing list