[R] Sweave: \Sexpr{} inside <<>>?
zerfetzen
paul.heinrich.dietrich at gmail.com
Wed Jan 26 02:22:52 CET 2011
Hi,
Is it possible in Sweave to put \Sexpr{} inside <<>>? This is a bad
example, but here goes:
<<results=hide>>
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. Any ideas? Thanks.
--
View this message in context: http://r.789695.n4.nabble.com/Sweave-Sexpr-inside-tp3237313p3237313.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list