Re: [R] Determining the "memory" used by a dataset or vector?

From: Prof Brian Ripley <>
Date: Fri 05 May 2006 - 05:10:24 EST

On Thu, 4 May 2006, r user wrote:

> Is there a function that reports the amount of memory
> used by a dataset and/or vector?


> If I have a dataset with only 1 column, does it use
> more memory then the same data arranged as a vector?

Yes. (I presume you mean a *data frame* here.)

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 Fri May 05 06:24:33 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 Fri 05 May 2006 - 08:10:01 EST.

Mailing list information is available at Please read the posting guide before posting to the list.