Re: [R] Workspace size

From: Prof Brian Ripley <>
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 "" ?

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.

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

      '' 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,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
PLEASE do read the posting guide!
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 Please read the posting guide before posting to the list.