Re: [R] Sweave options

2011-12-31 Thread Duncan Murdoch
On 11-12-31 12:07 PM, Michael Friendly wrote: On 12/30/2011 2:33 PM, Duncan Murdoch wrote: Remember that that list is not exhaustive, since it is an open-ended format. For example, the rgl package implements a driver that adds an option "delay". (It also uses "resolution", but other drivers us

Re: [R] Sweave options

2011-12-31 Thread Michael Friendly
On 12/30/2011 2:33 PM, Duncan Murdoch wrote: Remember that that list is not exhaustive, since it is an open-ended format. For example, the rgl package implements a driver that adds an option "delay". (It also uses "resolution", but other drivers use that too.) I imagine odfWeave has its own op

Re: [R] Sweave options

2011-12-30 Thread Duncan Murdoch
On 30/12/2011 1:29 PM, Marc Schwartz wrote: On Dec 30, 2011, at 12:23 PM, Terry Therneau wrote: Is there a concise list somewhere of the Sweave options for a code chunk? By that I mean <> where the options are fig=T/F, echo=T/F, etc. I keep forgetting parts of the etc. Terry T. Terry, S

Re: [R] Sweave options

2011-12-30 Thread Marc Schwartz
On Dec 30, 2011, at 12:23 PM, Terry Therneau wrote: > Is there a concise list somewhere of the Sweave options for a code > chunk? By that I mean > <> > where the options are fig=T/F, echo=T/F, etc. I keep forgetting parts of > the etc. > > Terry T. Terry, See ?RweaveLatex which has a list of

Re: [R] sweave options with variable

2011-04-17 Thread Henrik Bengtsson
[Forgot to cc: the list] Hi. On Sun, Apr 17, 2011 at 8:04 AM, Kai Ying wrote: > thanks, >   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 decid

Re: [R] sweave options with variable

2011-04-17 Thread Gabor Grothendieck
On Sun, Apr 17, 2011 at 11:04 AM, Kai Ying wrote: > thanks, >   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. >

Re: [R] sweave options with variable

2011-04-17 Thread Kai Ying
thanks, 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

Re: [R] sweave options with variable

2011-04-17 Thread Duncan Murdoch
On 11-04-17 2:41 AM, Kai Ying wrote: hello: Do any one know how to set sweave option by variable, for example I want set some of my selected code chunk with: <>= rather than<>=, so I can change the action only in the head by change the variable "needRun" one times. I have tried use "\Def" an