[R] Output Files..

Jason Turner jasont at indigoindustrial.co.nz
Wed Mar 21 12:32:32 CET 2001


> Somehow I forgot how to do this...
> 
> Say I have a command that produced a 28 x 28 data matrix.  How can I output the matrix into a txt file (rather than copy/paste the matrix)?


write.table(mat,file="filename")

If you're like me, you remembered it 5 minutes after posting it,
though ;-)

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