[R] Large Stata file Import in R

Xavier xfim.ll at gmail.com
Tue Jun 30 18:34:23 CEST 2009


saurav pathak vas escriure el dia dl, 29 jun 2009:

> Hi
> 
> I am using Stata 10 and I need to import a data set in stata 10 to R, I have
> saved the dataset in lower versions of Stata as well by using saveold
> command in Stata.
> 
> My RAM is 4gb and the stata file is 600MB, I am getting an error message
> which says :
> 
> "Error: cannot allocate vector of size 3.4 Mb
> In addition: There were 50 or more warnings (use warnings() to see the first
> 50)"
> 
> Thus far I have already tried the following

Maybe it does not adress the R problem that you are asking for, but you can
try to "compress" the stata file prior to save it. And maybe the size of
the file will decrease.

-- 
-  Xavier  -




More information about the R-help mailing list