Skip to content
Prev 314974 / 398503 Next

Sweave, Texshop, and sync with included Rnw file

On 13-01-09 3:25 PM, michele caseposta wrote:
This is a problem addressed by my patchDVI package, available on 
R-forge.  You have a main file (which can be .tex or .Rnw), and put code 
at the start of each .Rnw file to indicate where to find it.  Then you 
just run Sweave on one of the chapters, and it automatically produces 
the full document.

The sample document here:

http://www.umanitoba.ca/statistics/seminars/2011/3/4/duncan-murdoch-using-sweave-R/

includes an appendix describing how to set this up with TeXShop.

Duncan Murdoch