On Mon, 5 Feb 2007, Milton Cezar Ribeiro wrote:

> Hi R-gurus,
> 
> I have a 1000x1000 matrix and I would like to write it in a ASC file,
> where each row from my matrix are written in a separated line. I tryed
> write() function, but it don“t work fine to me.

RSiteSearch("write matrix", restrict = c("functions", "docs"))

takes you to:

library(MASS)
?write.matrix

which ought to get you there. But:

?write

would also have shown that there is an ncolumns argument - using that 
would probably also help.

> 
> any idea?
> 
> Kind regards,
> 
> Miltinho
> 
> __________________________________________________
> 
> 
>       [[alternative HTML version deleted]]
> 
> 

-- 
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: [EMAIL PROTECTED]

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to