[R] Writing intermediate analysis to disk
Moshe Olshansky
m_olshansky at yahoo.com
Thu May 29 01:34:55 CEST 2008
Hi Stephen,
Have you looked at 'save' and 'load'?
As far as I understand, to really release the memory
you need to close R, so you may try to write a script
(shell script on Unix, batch file on Windows) which
invokes Rcmd to load the data, make an iteration and
save the result, so that R dies between subsequent
calls to Rcmd. I have never used this but I believe
that this shouldn't be too difficult.
--- stephen sefick <ssefick at gmail.com> wrote:
> Is there a way to write and analysis to disk and
> then reconstruct the whole
> thing back into an object.
>
> wavCWT() #wmtsa package
>
> I am running out of memory on my computer and I was
> wondering if there was a
> way to iterate through this process (as it is an
> iterative process anyway-
> it just stores the whole thing to memory). Or is
> there a way to set the
> scale that I want to look at so that wavCWT can use
> something other than the
> default. In the documentation it says that the
> timestep or anything larger
> can be used. My time step is 1/15, but I can not
> use anything larger like
> 96 (which is one day of fifteen minute readings).
> thanks
>
> Stephen
>
> --
> Let's not spend our time and resources thinking
> about things that are so
> little or so large that all they really do for us is
> puff us up and make us
> feel like gods. We are mammals, and have not
> exhausted the annoying little
> problems of being mammals.
>
> -K. Mullis
>
> [[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.
>
More information about the R-help
mailing list