Skip to content
Prev 206522 / 398506 Next

Sweave - How to use local objects in code chunks

I don't think it works that way. The .Rnw file should be
self-contained. Put all the R code in the .Rnw file (or keep it in a
separate file and source() it into the .Rnw file).

-Ista



On Sat, Jan 16, 2010 at 3:35 PM, Jan-Henrik P?tter
<henrik.poetter at gmx.de> wrote: