Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Compress a closed file


From   Mohamad Al Ississ <[email protected]>
To   [email protected]
Subject   Re: st: Compress a closed file
Date   Tue, 22 Feb 2011 11:57:39 +0200

Thanks Nick & Michael for the prompt response,
I meant -compress- within Stata, which it seem not doable without
loading the whole file. I'll resort to Michael's approach of  loading
some of the vars, -compress-and then -merge-,

Best,

Mohamad Al-Ississ, Ph.D.
Assistant Professor of Economics
School of Business
The American University in Cairo



On Tue, Feb 22, 2011 at 11:51 AM, Nick Cox <[email protected]> wrote:

> Depends what you mean by compress.
>
> If you mean compress in the sense of using a stand-alone program like
> some flavour of zip or tar, then yes, you can, but I don't think it
> will solve your problem.
>
> If you mean compress in the sense of the Stata command -compress- ,
> then no, you can't.
>
> I think you are going to need to read some of the variables in,
> -compress-, -save-, etc.
> and -merge- saved files. Or ditto, but with observations, not
> variables. Or does your analysis really need _all_ the variables?
>
> Incidentally, note how helpful the Stata -cmdname- convention,
> commended in the FAQ, is for resolving ambiguity.
>
> Nick
>
> Mohamad Al-Ississ, Ph.D.
>
> > The file I'm trying to open a file that's too large for my Stata's memory
> (I
> > maxes the memory setting). I get the "no room to add more
> observations..."
> > error. I know that if I compress the file, it'll solve the problem. Is
> there
> > a way to compress the file w/o opening it?
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index