From bates at stat.wisc.edu  Thu Feb 26 18:03:45 2004
From: bates at stat.wisc.edu (Douglas Bates)
Date: Thu Feb 26 18:04:41 2004
Subject: [Rd] save() size in XDR
In-Reply-To: <20040226162105.13608.qmail@web12404.mail.yahoo.com>
References: <20040226162105.13608.qmail@web12404.mail.yahoo.com>
Message-ID: <6rznb5bwni.fsf@bates4.stat.wisc.edu>

Nathan Whitehouse <nlwhitehouse@yahoo.com> writes:

>   Is there a way to find the size in bytes of a save()
> command --before-- the file has been saved?

You could try 

 object.size(obj)

which gives the size of the internal representation.  The external
representation should not be much larger.  If you use compress = TRUE
in the save call then the external representation may well be
considerably smaller than the internal.


[Rd] save() size in XDR
Douglas Bates