Re: [R] Workspace size

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Wed 05 Jul 2006 - 20:25:40 EST

On Mon, 3 Jul 2006, statwi01 wrote:

> Can I determine the approximate size of a workspace on the harddisk
> before saving it via "sys.save.image(name)" ?

No. (Also, it depends on the options in force: saved images can be ASCII or binary or compressed or not, and it is impossible to predict how well compression will work: it can be very effective.)

And please note what the help page says:

      Internal functions in the base package, which are only
      user-visible because of the special nature of the base namespace.

      'sys.save.image' is a system function that is called by 'q()' and
      its GUI analogs; 'sys.load.image' is called by the startup code.
      These functions should not be called directly and are subject to
      change.

      'sys.save.image' closes all connections first, to ensure that it
      is able to open a connection to save the image.  This is
      appropriate when called from 'q()' and allies, but reinforces the
      warning that it should not be called directly.

so please don't use it.

> Thanks in advance
>
> Sigbert

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Wed Jul 05 20:37:54 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 05 Jul 2006 - 22:16:23 EST.

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