[R] error in format.df when using dec
Dieter Menne
dieter.menne at menne-biomed.de
Tue Nov 7 16:24:38 CET 2006
Rainer M Krug <RKrug <at> sun.ac.za> writes:
>
> When using format.df with dec, the formating does not work (see code
> below).
....
> > format.df(x, dec=2)
> a b m 1 m 2
> 1 "1.120000000000000" "3" "5" "7"
> 2 "2.230000000000000" "4" "6" "8"
This is the same bug introduced in the latest version of Hmisc as reported in
http://article.gmane.org/gmane.comp.lang.r.general/73186
Dieter
More information about the R-help
mailing list