Make Sweave + RweaveHTML puts all the graphics in the specified folder

As a clarification of this question , does anyone know how to tell Sweave (or, better, the driver) to put all the graphics in a specific directory when using RweaveHTMLfrom a package R2HTML? I can not find any possibility for this: (

+5
source share
1 answer

Sweave answers the parameter prefix.stringfor numbers. For instance. in one recent document i'm using

\SweaveOpts{engine=R,eps=FALSE,echo=TRUE,prefix.string=figures/chart}

which leads to files figures/chart-chunkname.pdfwhere I use chunknameas identifier in the Sweave code snippet. I suspect R2HTML might help the same , but I have not tried this driver.

+5

All Articles