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: where STATA on MAC always complains that some variable already existed?


From   "G. Dai" <[email protected]>
To   [email protected]
Subject   Re: st: where STATA on MAC always complains that some variable already existed?
Date   Fri, 18 Jun 2010 14:55:50 -0700

thanks, Steve and Phil. I find the grep is extremly helpful. need more
effort to learn mac;-)

On Fri, Jun 18, 2010 at 8:49 AM, Phil Schumm <[email protected]> wrote:
> On Jun 18, 2010, at 10:05 AM, Steve Samuels wrote:
>>
>> To search multiple do files on the Mac, I recommend BBEdit, or the free
>> TextWrangler (both barebones.com). See:
>> http://fmwww.bc.edu/repec/bocode/t/texteditors.html.
>
>
> Or you can use grep, which comes pre-installed:
>
>    grep -r r4pnhmln *
>
>
>> It's easy to set up a filter to search only ".do" or ".log"  files
>
>
>    grep -r --include=*.{do,log} r4pnhmln *
>
>
> WRT the original question here, the fact that you have moved from Windows to
> OS X is almost certainly a red herring, since Stata works the same on both.
>  What is much more likely is that something has changed from your original
> setup (i.e., when you moved machines), and that's what you'll have to debug.
>  For example, perhaps you are using a different profile.do on the two
> machines, say, where one of them has -varabbrev- set to off?  Start by
> checking for differences in your Stata environment (e.g., Stata version,
> profile.do, versions of whatever 3rd party packages you might be using,
> etc.).  Then go through your entire process (including dependencies) from
> the beginning, and add things like -conf new v r4pnhmln, exact- to debug.
>
>
> -- Phil
>
> *
> *   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