[R] convert RData to txt

Henrique Dallazuanna wwwhsd at gmail.com
Mon Oct 5 14:27:05 CEST 2009


You can try something about like this:

lapply(ls(), function(obj)cat("\n", obj, "<-",
paste(deparse(get(obj)), collapse = "\n"), file = 'RData.txt', append
= TRUE))
source('RData.txt')


On Mon, Oct 5, 2009 at 4:00 AM,  <mykhwab at gmail.com> wrote:
> hello all,
> will you plz tell me how can i convert RData files to txt,,,
>
> ______________________________________________
> R-help at 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.
>



-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O




More information about the R-help mailing list