[R] sweave options with variable
ggrothendieck at gmail.com
Sun Apr 17 17:28:21 CEST 2011
On Sun, Apr 17, 2011 at 11:04 AM, Kai Ying <yingk at iastate.edu> wrote:
> It can work but not as elegant as I expect because it add extra code to
> every chunk of code.
> I have tried the cache for this purpose it works in most case but have a lot
> of other problems so I decided to control it by myself.
> I guess that sweave running R code before tex, so tex variable do not work
> and need find something run before sweave and set the variable,
> but it seems currently no way do that. Write my own Sweave driver is too
> hard for me hope in the future someone can refine the sweave driver.
> best wishes
You may be better off just directly emit the latex from R (not using
Sweave at all). Another alternative is the brew package.
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
email: ggrothendieck at gmail.com
More information about the R-help