I believe you want \Sexpr{}
for instance:
let $x = \Sexpr{x}$
or if you need rounding
let $x = \Sexpr{round(x, dig=4)}$
On Fri, 18 Feb 2005, Matthieu Cornec wrote:
> hello,
>
> Suppose in Rnw file, I compute a numeric of name x containing the value 1.
> In my tex file, I want to write
>
> Let x= "the real value of x"
> so that I can see in my dvi file : Let x = 1,
> with 1, the actual value of x written in a math environnement for example.
>
> Thanks,
>
> Matthieu
>
> ______________________________________________
> [email protected] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>
>
Paulo Justiniano Ribeiro Jr
LEG (Laborat�rio de Estat�stica e Geoinforma��o)
Departamento de Estat�stica
Universidade Federal do Paran�
Caixa Postal 19.081
CEP 81.531-990
Curitiba, PR - Brasil
Tel: (+55) 41 361 3573
Fax: (+55) 41 361 3141
e-mail: [EMAIL PROTECTED]
http://www.est.ufpr.br/~paulojus
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html