Re: [R] Writing intermediate analysis to disk

From: Moshe Olshansky <m_olshansky_at_yahoo.com>
Date: Thu, 29 May 2008 09:34:55 +1000 (EST)


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.

> 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.
>



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. Received on Thu 29 May 2008 - 01:51:13 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 29 May 2008 - 02:30:51 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive