Re: [R] Sweave: \Sexpr{} inside <<>>?

2011-01-26 Thread Duncan Murdoch
On 11-01-26 3:43 PM, zerfetzen wrote: Thanks Duncan, that helps. It successfully displays what I'm looking for, but it is not executing it. In a previous code chunk, it notes the time it took to run something, and in the successive code chunk, it runs something else where the previous time is

Re: [R] Sweave: \Sexpr{} inside <<>>?

2011-01-26 Thread zerfetzen
Thanks Duncan, that helps. It successfully displays what I'm looking for, but it is not executing it. In a previous code chunk, it notes the time it took to run something, and in the successive code chunk, it runs something else where the previous time is now a parameter, but I'd like it to nume

Re: [R] Sweave: \Sexpr{} inside <<>>?

2011-01-26 Thread Duncan Murdoch
On 11-01-25 8:22 PM, zerfetzen wrote: > > Hi, > Is it possible in Sweave to put \Sexpr{} inside<<>>? This is a bad > example, but here goes: > > <> > Age<- 5 > @ > > <<>> > x<- \Sexpr{Age} > @ > > I'm trying to get it to display x<- 5, rather than x<- Age. It's probably > so obvious I'm going

Re: [R] Sweave: \Sexpr{} inside <<>>?

2011-01-25 Thread Dieter Menne
zerfetzen wrote: > > Is it possible in Sweave to put \Sexpr{} inside <<>>? This is a bad > example, but here goes: > > <> > Age <- 5 > @ > > <<>> > x <- \Sexpr{Age} > @ > ... > It's good to have a simplified example, but your's is so much simplified that it is difficult to understand. I kno

[R] Sweave: \Sexpr{} inside <<>>?

2011-01-25 Thread zerfetzen
Hi, Is it possible in Sweave to put \Sexpr{} inside <<>>? This is a bad example, but here goes: <> Age <- 5 @ <<>> x <- \Sexpr{Age} @ I'm trying to get it to display x <- 5, rather than x <- Age. It's probably so obvious I'm going to feel sorry for having to ask, just the same, I'm stumped.