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   Phil Schumm <[email protected]>
To   [email protected]
Subject   Re: st: where STATA on MAC always complains that some variable already existed?
Date   Fri, 18 Jun 2010 10:49:16 -0500

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/


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