Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: loading a big dataset in Stata


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: loading a big dataset in Stata
Date   Fri, 5 Sep 2003 10:44:45 +0100

TELHAJ Shqiponje
> 
> I am trying to load a big dataset with approx. 790,000 
> observations and
> 170 variables in Stata. I am having trouble loading the 
> data first.  The
> data is an SPSS file. I saved the data as a tab-delimited 
> file in SPSS
> and tried to open in Stata. However, got the following message:
> 
> 
> . insheet using c:\yellisall.dat
> no room to add more observations
>     An attempt was made to increase the number of 
> observations beyond
> what is
>     currently possible.  You have the following alternatives:
> 
>      1.  Store your variables more efficiently; see help compress.
> (Think of
>          Stata's data area as the area of a rectangle; 
> Stata can trade
> off
>          width and length.)
> 
>      2.  Drop some variables or observations; see help drop.
> 
>      3.  Increase the amount of memory allocated to the 
> data area using
> the set
>          memory command; see help memory.
> error in line 86591 of file
> r(901);
> 

You got three suggestions here. If you are 
starting with an empty Stata, then #3 is 
the most relevant. 

Nick 
[email protected] 

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index