[R] writing to S-PLUS .dat file

ahmad ajakh aajakh at yahoo.com
Wed Dec 27 03:45:53 CET 2006


Hi Sebastian

try
save(x,y, file = "filename.txt", ascii = TRUE)
where x, y are your R objects. You should read
?save
good luck
AA.

----- Original Message ----
From: Sebastian Michalski <s_michalski at o2.pl>
To: r-help at stat.math.ethz.ch
Sent: Monday, December 25, 2006 7:36:50 AM
Subject: [R] writing to S-PLUS .dat file

Dear Users,
I am new to R. I use write() to write my data in .txt format. I'd like 
to write to a disc any kind of data in a .dat S-PLUS format.
Please help.
SM

______________________________________________
R-help at stat.math.ethz.ch 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.



More information about the R-help mailing list