[R] digits argument for print method for dataframe

Jason Turner jasont at indigoindustrial.co.nz
Tue Jun 12 15:45:41 CEST 2001


> First, how does the digits argument to the print method for dataframes work? 

It specifies the number of significant digits to display.  In your example,
with digits=7, each column had 7 sig. figs.

> Second, do people have generic advice on "pretty printing"? 

For pretty export to LaTeX or HTML, I use the "xtable"
library, which is on CRAN.  I think it's nice.

http://cran.r-project.org/src/contrib/PACKAGES.html#xtable

Cheers

Jason
-- 
Indigo Industrial Controls Ltd.
64-21-343-545
jasont at indigoindustrial.co.nz
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list