Skip to content
Prev 75879 / 398502 Next

Handling of tables in R

On Fri, 19 Aug 2005, Romain Francois wrote:

            
Only for printing in R: see below for other suggestions.
You are likely to be better off with write.csv().  There _is_ a manual (`R 
Data Import/Export') about this. (In particular, the default setting for 
col.names in write.table is not usually what Excel usually expects, and 
the default separator is space, so you better not have spaces (or for 
Anne's suggestion, tabs) in the data.)
?round, ?signif, ?format.  (Anne's answer applies to printing, not to the 
table and not to write.table/csv.)