Well, this has seriously gotten off the original topic.
While Hadley makes some sense, it is nevertheless
sometimes the case (surely so for David, I would surmise)
that one is putting together a response to an R-help
query when a new query prompts one to temporarily abandon
the first and formulate a response to the second. One
may well prefer not to have one's workspace cleared even
though this would not lose more than the temporarily
suspended work. So, is ther *ever* a good reason to
*not* put rm(list=ls()) behind a comment char? I doubt it.
Just my 2c.
-Peter Ehlers
On 2010-04-24 11:14, David Winsemius wrote:
On Apr 24, 2010, at 10:09 AM, hadley wickham wrote:
Perhaps, true in some respects. I am still chiseling out work using
primitive editing tools. But it still takes several minutes to load the
objects I am working on into memory and then several minutes each to
build
new models. The models still reside in memory, since I do not know any
method for automatically saving the output that would not further
increase
the time expended. Typically I am working on .Rdta files that are
400MB on
disk and then are around 4GB in RAM. I need to make a tradeoff
between the
time I would lose in saving after every <n> models or tabulation,
versus the
security of having everything saved. If you want to recommend methods
that
would speed those processes, I'm surely all ears.
Well it sounds like you won't lose any work, but you will lose some
time. But why not open another session of R for R-help questions?
Then you're never in any danger. I often have four or five instances
of R running for different projects.
Not a bad idea but one that I thought was unfeasible with my use of an
R-GUI. I had considering keeping a session open on my laptop.
Hadley
--
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/
David Winsemius, MD
West Hartford, CT
______________________________________________
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.
--
Peter Ehlers
University of Calgary
______________________________________________
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.