Hi
I've been using TextMate version 2.0-alpha.9443
for a few weeks now but since yesterday I can't get it to send do files directly to Stata. Well, to be more precise, when I send a do file to Stata using the bundle commands, instead of the do file turning up in the Stata do file editor with the same name, e.g. `environment.do', it turns up with a name like `tm-stata-1200.do' which causes an error message from Stata because it can't locate such a file.
I have re-installed TM but still have the same problem.
Can anyone help me please?
Many thanks
Liz
On Jul 9, 2013, at 10:33 AM, Liz Hooper lizhooper@cantab.net wrote:
I've been using TextMate version 2.0-alpha.9443
for a few weeks now but since yesterday I can't get it to send do files directly to Stata. Well, to be more precise, when I send a do file to Stata using the bundle commands, instead of the do file turning up in the Stata do file editor with the same name, e.g. `environment.do', it turns up with a name like `tm-stata-1200.do' which causes an error message from Stata because it can't locate such a file.
Liz,
For one thing, you need to make sure that the Stata preference
Do-file Editor -> Advanced -> Edit do-files opened from the Finder in Do-file Editor
is unchecked, otherwise Stata will open the file in its own do-file editor instead of executing the file. Also, take a look at Section 2.2 of the Help file (available in the Stata bundle menu), entitled "Use of temporary files". Let me know if that doesn't solve your problem.
-- Phil
Hi Phil
Many thanks for your help - will get onto this now.
Regards
Liz
On 9 Jul 2013, at 19:04, Phil Schumm wrote:
On Jul 9, 2013, at 10:33 AM, Liz Hooper lizhooper@cantab.net wrote:
I've been using TextMate version 2.0-alpha.9443
for a few weeks now but since yesterday I can't get it to send do files directly to Stata. Well, to be more precise, when I send a do file to Stata using the bundle commands, instead of the do file turning up in the Stata do file editor with the same name, e.g. `environment.do', it turns up with a name like `tm-stata-1200.do' which causes an error message from Stata because it can't locate such a file.
Liz,
For one thing, you need to make sure that the Stata preference
Do-file Editor -> Advanced -> Edit do-files opened from the Finder in Do-file Editor
is unchecked, otherwise Stata will open the file in its own do-file editor instead of executing the file. Also, take a look at Section 2.2 of the Help file (available in the Stata bundle menu), entitled "Use of temporary files". Let me know if that doesn't solve your problem.
-- Phil
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate