[R] a rounding option for \Sexpr{}?
Duncan Murdoch
murdoch.duncan at gmail.com
Fri Nov 19 16:55:43 CET 2010
On 19/11/2010 10:38 AM, Dieter Menne wrote:
>
> 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.
I think the default would have to be FALSE, so that old documents didn't
suddenly change. But is it really so hard to define your own formatting?
Duncan Murdoch
More information about the R-help
mailing list