[R] a rounding option for \Sexpr{}?

Dieter Menne dieter.menne at menne-biomed.de
Fri Nov 19 16:38:18 CET 2010



Duncan Murdoch-2 wrote:
> 
> On 19/11/2010 10:12 AM, Yihui Xie wrote:
>> Maybe this should go to R-devel as a wishlist:
>>              val<- format(eval(parse(text=cmd), envir=.GlobalEnv))
>>
> I don't like the current behaviour, but that change could break a lot of 
> existing documents.  
> 

Not necessarily. Add an Sweave option "useFormat=FALSE" to keep the old
behavior.

Dieter


-- 
View this message in context: http://r.789695.n4.nabble.com/a-rounding-option-for-Sexpr-tp3049872p3050529.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list