Re: R-alpha: Memory Requirements for Large Datasets

Martyn Plummer (plummer@iarc.fr)
Wed, 05 Mar 1997 09:29:50 +0100 (MET)


Date: Wed, 05 Mar 1997 09:29:50 +0100 (MET)
From: Martyn Plummer <plummer@iarc.fr>
To: mrn@superh.hg.med.umich.edu
Subject: Re: R-alpha: Memory Requirements for Large Datasets

Looking at the code for read.table, I see that it reads the whole dataset
in as character data (using the scan() function), before coercing it
to numeric or factor data  with the function type.convert. Could this be
the reason for the excessive memory usage? Try using the scan() function
instead.

Martyn
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-testers mailing list -- For info or help, send "info" or "help",
To [un]subscribe, send "[un]subscribe"
(in the "body", not the subject !)  To: r-testers-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-