Statalist


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

Re: st: AW: Probable bug in -zipfile-


From   kcrow@stata.com (Kevin Crow, StataCorp)
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: AW: Probable bug in -zipfile-
Date   Tue, 27 Oct 2009 13:11:10 -0500

Fred Wolfe <fwolfe@arthritis-research.org> writes

> I used -zipfile- for the first time and obtained an error with the first
> syntax. Stata usually lets one use "save,replace" even if the file does not
> exist. So the behavior below was unexpected and kind of a nuisance. And it is
> contrary to the help file.
> 
> . zipfile eq5d2.dta, saving(eq5d2,replace)
> option saving() misspecified
> r(198);
> 
> . zipfile eq5d2.dta, saving(eq5d2)
>     adding: eq5d2.dta
> successfully zipped eq5d2.zip

As Martin Weiss <martin.weiss1@gmx.de> points out, this is a bug
in the way the -zipfile- command is parsing the -saving()-
option.  It will be fixed in the next Stata ado update.

Kevin Crow
StataCorp
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index