attach("file_name.RDA")
dump(list=ls(2),file="file_name.R")

This creates file file_name.R, containing R commands, executed to produce
the contents of the file_name.RDA

Data frames and matrices can be stored in ASCII file in tabular form using
write.table()

You can also consider cat()


Jittima Piriyapongsa wrote:
> 
> Hi,
> 
> Does anyone know how to export .RDA file (in R program) to a normal text
> file
> (readable by any text editor)? Also, how to export an object in R program
> into a
> text file (not .RDA file)?
> 
> Thank you.
> Jittima
> 

-- 
View this message in context: 
http://www.nabble.com/how-to-export.RDA-file-to-a-text-file--tf4511368.html#a12873965
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org 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