[R] get rid of format padding
Ido M. Tamir
tamir at imp.univie.ac.at
Fri Nov 30 17:53:54 CET 2007
I need to prevent the output of very large
integers in scientific format.
So I use format, but now the integers in the
resulting tab delimited output file are padded.
I tried justify="none" or "left", width=0 but nothing
thank you very much for your suggestions,
> vals <- c(10000,1)
> df <- data.frame(c("A","b"),format(vals),vals)
> df <- data.frame(c("A","b"),format(vals,just="none"),vals)
More information about the R-help