mauede at alice.it
2009-Apr-23 09:17 UTC
[R] how to split and handle a big R program into multiple files
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]]
jgarcia at ija.csic.es
2009-Apr-23 09:39 UTC
[R] how to split and handle a big R program into multiple files
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. >