This document provides instructions for using Sweave and related tools to generate a LaTeX document from an Rnw file. It first runs Sweave to embed the results of R code chunks into the Rnw file, then runs texi2dvi to compile the resulting LaTeX code into a PDF or DVI file.
Original Description:
Hydromad tutorial on R, written using sweave package
This document provides instructions for using Sweave and related tools to generate a LaTeX document from an Rnw file. It first runs Sweave to embed the results of R code chunks into the Rnw file, then runs texi2dvi to compile the resulting LaTeX code into a PDF or DVI file.
This document provides instructions for using Sweave and related tools to generate a LaTeX document from an Rnw file. It first runs Sweave to embed the results of R code chunks into the Rnw file, then runs texi2dvi to compile the resulting LaTeX code into a PDF or DVI file.