[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.



Indigo Industrial Controls Ltd.
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