[R] Several simple but hard tasks to do with R

jim holtman jholtman at gmail.com
Thu Aug 20 17:49:16 CEST 2009

Put the objects that you want to save in a 'list' and then 'save' the
list.  You can build up the contents of the list dynamically in your
program and then save it at the appropriate point.

On Thu, Aug 20, 2009 at 10:59 AM, Rakknar<aliengenesis at yahoo.com> wrote:
> "To echo what others have said, it is often easier to write a script (in
> STATA terms, a "do" file) of commands and then "source" the script. When
> it runs to your satisfaction, usually not the first time for me, there
> are several ways to store the output. Both the R2HTML and prettyR
> packages contain methods to store output as HTML files. You can store
> both the commands and output in the same file."
> I already using script. I'm using Tinn-R to write them. Thanks for the
> recommendation of the R2HTML package I'll see how to use it right now.
> Thanks.
> "You can save one object at a time if you want, and do it during a
> script. I usually save the primary data object after I have translated
> it from whatever format it came to me. You can save subsets of the data
> as different files and simply use "load" to read in the data you want.
> "load" can also signal if the data is not there, albeit in a fairly
> messy way."
> Yes, I already know I can do things that way but it doesn't work for me: I
> want to be able to store several objects in one .Rdata file in a flexible
> and fast way. Writing one for each object seems too messy for me.
> --
> View this message in context: http://www.nabble.com/Several-simple-but-hard-tasks-to-do-with-R-tp25052563p25063776.html
> Sent from the R help mailing list archive at Nabble.com.
>        [[alternative HTML version deleted]]
> ______________________________________________
> 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.

Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem that you are trying to solve?

More information about the R-help mailing list