Statalist


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

Re: st: doedit foo.do


From   "Eric A. Booth" <ebooth@ppri.tamu.edu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: doedit foo.do
Date   Fri, 27 Mar 2009 11:20:19 -0500

Mike:

 I use a Mac 10.5.6 running Stata 10.1 SE 64-bit with all updates.
When I type -doedit foo.do- I get the same result as David--it gives me an error. Also, when I type -doedit- it gives me a do-file editor window title "Untitled.do".

Before I upgraded to the 64-bit version my -dofile- command behaved the same way you describe: "When I type -doedit foo.do-, an empty do- file window open with the title "foo.do". (Of course, the file is only written to disk after saving it.) "

Eric
__
Eric A. Booth
Public Policy Research Institute
Texas A&M University
ebooth@ppri.tamu.edu
Office: +979.845.6754
Fax: +979.845.0249
http://ppri.tamu.edu


>>>>>>>>
On Mar 27, 2009, at 11:06 AM, Michael Hanson wrote:

On Mar 27, 2009, at 8:48 AM, David Airey wrote:

Oh right, I had a conversation with Stata about this when they were fixing a doeditor problem.

When? -help whatsnew- notes that the 06mar2009 update addressed three issues with the 64-bit Mac executable (items 2, 3, and 6). None sound like the issue you mention, however.


On the mac typing

doedit

brings up a temporary file that can be saved.

I am running Stata/SE 10.1 (32 bit) on a MacBook Pro with OS X 10.4.11. When I type -doedit- in the Command window of Stata, an empty do-file editor window opens with the title "Untitled.do".


I have muscle memory (I feel) from a prior version of Stata that would create the file after typing doedit foo.do.

When I type -doedit foo.do-, an empty do-file window opens with the title "foo.do". (Of course, the file is only written to disk after saving it.) If this action does *not* also happen for you, David, then the key is likely not the Mac vs. other platforms, but some other specific attribute of your setup: the 64-bit executable, the Stata/MP flavor, the combination of the two, or your OS (you are running Leopard, not Tiger, correct?). My hunch is a "bug" snuck into the 64- bit Stata executable on the Mac (maybe only for MP).

Hope this helps,
Mike

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