Re: [R] Sweave with external R code

2010-06-24 Thread Duncan Murdoch
On 24/06/2010 3:00 PM, Gaston Fiore wrote: Hello, I'm new to R and Sweave and I was wondering whether you can just include all your R code in external files and then call them from within the code chunks. I've read the Sweave User Manual but I couldn't find any specific information about this

[R] Sweave with external R code

2010-06-24 Thread Gaston Fiore
Hello, I'm new to R and Sweave and I was wondering whether you can just include all your R code in external files and then call them from within the code chunks. I've read the Sweave User Manual but I couldn't find any specific information about this. Is this not customarily done? Thanks, -Ga