I don't agree. I find that overcautious. I always allow -r- for
-replace- in my programs to replace variables.
ben
On Mon, Oct 26, 2009 at 3:52 PM, Martin Weiss <[email protected]> wrote:
>
>
> <>
>
>
> "Yes, it's hazardous. -panels- expects users know what they're doing."
>
> Another hazard could be the fact that a mere "r" is sufficient to allow
> Stata to overwrite existing variables which is not quite in keeping with the
> spirit of [U], section 11.2.2.: "To allow Stata to overwrite the dataset,
> you would type save mydata, replace. replace may not be abbreviated." In
> this case we are talking about a variable, not a dataset, but still...
>
>
> ***
> webuse nlswork, clear
> panels idcode, gen(mycount)
> //overwrite w/o prompt to user...
> panels idcode, gen(mycount) r
> ***
>
>
> HTH
> Martin
>
>
>
>
> *
> * 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/