Skip to content

how much memory does one need...

1 message · Thomas Lumley

#
On Sat, 29 Sep 2001, David A Richmond wrote:
1) gc() or memory.profile()

2) Not well-defined in general, but for a matrix it is usually 8 bytes per
element for real, 4 for integer (plus a fairly small fixed overhead).

3) You don't.  R doesn't have single precision.  as.single() is just a
request that when the object is passed to .C or .Fortran it should be
converted to single precision.


	-thomas

Thomas Lumley			Asst. Professor, Biostatistics
tlumley@u.washington.edu	University of Washington, Seattle