RE: [R] Using sweave

2005-02-18 Thread Christophe Declercq
> De : [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] la part de > Matthieu Cornec > Envoye : vendredi 18 fevrier 2005 17:40 > > 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 ca

Re: [R] Using sweave

2005-02-18 Thread Paulo Justiniano Ribeiro Jr
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

[R] Using sweave

2005-02-18 Thread Matthieu Cornec
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