Re: [Rd] [R] Sweave: Variables in code chunk headers

2007-12-03 Thread friedrich . leisch
> On Sun, 02 Dec 2007 19:41:04 +, > Michael Hoffman (MH) wrote: > Duncan Murdoch wrote: >> I put together a clunky way to handle that for a presentation last week; >> it may be enough for you. >> >> I leave the Sweave options at their defaults, but I have code chunks >>

Re: [Rd] [R] Sweave: Variables in code chunk headers

2007-12-02 Thread Michael Hoffman
Duncan Murdoch wrote: > I put together a clunky way to handle that for a presentation last week; > it may be enough for you. > > I leave the Sweave options at their defaults, but I have code chunks > that affect the appearance, and I run those without echoing to switch > between a couple of fo

Re: [Rd] [R] Sweave: Variables in code chunk headers

2007-12-02 Thread Duncan Murdoch
Michael Hoffman wrote: > Duncan Murdoch wrote: > > >> On 01/12/2007 2:38 PM, Michael Hoffman wrote: >> >>> Dieter Menne wrote: >>> Michael Hoffman sneakemail.com> writes: > I would like to be able to do something like this: > ><>= >...

Re: [Rd] [R] Sweave: Variables in code chunk headers

2007-12-01 Thread Michael Hoffman
Duncan Murdoch wrote: > On 01/12/2007 2:38 PM, Michael Hoffman wrote: >> Dieter Menne wrote: >>> Michael Hoffman sneakemail.com> writes: >>> I would like to be able to do something like this: <>= ... @ with mywidth set in a previous code chunk. Is there

Re: [Rd] [R] Sweave: Variables in code chunk headers

2007-12-01 Thread Max Kuhn
On Dec 1, 2007 3:56 PM, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > My understanding is that Michael wants to have the Sweave options in a > chunk depend on a calculation happening in the underlying R session. > This is hard to do with hooks, because they are run after the options > have already b

Re: [Rd] [R] Sweave: Variables in code chunk headers

2007-12-01 Thread Duncan Murdoch
I've moved this response to R-devel, because my contribution is more along those lines. Michael, if this doesn't interest you, please let us know. On 01/12/2007 2:38 PM, Michael Hoffman wrote: > Dieter Menne wrote: >> Michael Hoffman sneakemail.com> writes: >> >>> I would like to be able to do