[R] writte file doubt

Michael Knudsen micknudsen at gmail.com
Tue Jul 21 14:36:26 CEST 2009


On Tue, Jul 21, 2009 at 2:28 PM, Jose Narillos de
Santos<narillosdesantos at gmail.com> wrote:

> Hi I wrotte this function but when I get the "tmp.xls" file  it shows data
> in a rare way. I mean not appears a matrix with 2000 rows and 100 columns.
> Can anyone help me, guide me?

Short answer: ?write

> write(tmp,file="tmp.xls")

You have to add an ncolumns option like
write(tmp,file="tmp.xls",ncolumns=100). The default is five columns.

-- 
Michael Knudsen
micknudsen at gmail.com
http://lifeofknudsen.blogspot.com/




More information about the R-help mailing list