Skip to content
Prev 64549 / 398498 Next

Using sweave

Try the \Sexpr{} command in LaTeX (see the Sweave manual). It's OK for
a scalar.

For example, something like this in the body of your LaTeX file should
do what you want:

<<>>=
x<-1
@

Let $x=\Sexpr{x}$


Christophe