[R] Large Stata file Import in R

Thomas Lumley tlumley at u.washington.edu
Tue Jun 30 17:43:39 CEST 2009


On Tue, 30 Jun 2009, Carlos J. Gil Bellosta wrote:

> Hello,
>
> You are dealing with two different problems at the same time: importing
> Stata data and importing a relatively big file.
>
> Can you try to export your data to txt file first and try to import from
> it directly?

That's likely to be worse in terms of memory than using read.dta, although it does provide the possibility of reading the data in chunks.

        -thomas

Thomas Lumley			Assoc. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle




More information about the R-help mailing list