I've put together a very basic/simple/uncomplicated/doesn't do much bundle for Stata, available at:
http://www.landfood.ubc.ca/people/timothy.beatty/page10/page10.html
I'm new to Textmate and so I'm sure the bundle could be improved upon (there are certainly both typos and thinkos). If anyone has helpful suggestions, particularly Stata users, they'd be very much appreciated.
Thanks,
Tim
On Aug 30, 2006, at 1:09 PM, Timothy Beatty wrote:
I've put together a very basic/simple/uncomplicated/doesn't do much bundle for Stata, available at:
Hi Tim-
It's neat to see a Stata bundle in development. I used to use Stata regularly, but I don't actually have a copy of Stata for OS X at the moment, so I can't really test it out. I have just one initial suggestion: You might want to set the name of the Stata app through an environment variable like TM_STATA_NAME. Then I think you could do in your commands:
osascript -e "tell application "${TM_STATA_NAME}" ...
That way, users with different versions of Stata need only set the variable in their preferences rather than change the app's name in each of the "send to Stata" commands (this would make expansion of the bundle easier, too). It might also make sense to make the location of your textmatetostata.do file something like /tmp/Stata -- that way, one's data/do file directories won't get cluttered with extra temporary files.
Cheers- -Alan
Thanks Tim for getting a start on this bundle..
I had mentioned to Alan a while ago for he need for it (currently running stata thro AlphaX).
Regarding the ability to run selections (something I do a lot given my workfow) is it possible to use the same textmate delivery structure for selections that are used in the R textmate bundle?
Thanks
Danstan
On Aug 30, 2006, at 4:09 PM, Timothy Beatty wrote:
I've put together a very basic/simple/uncomplicated/doesn't do much bundle for Stata, available at:
http://www.landfood.ubc.ca/people/timothy.beatty/page10/page10.html
I'm new to Textmate and so I'm sure the bundle could be improved upon (there are certainly both typos and thinkos). If anyone has helpful suggestions, particularly Stata users, they'd be very much appreciated.
Thanks,
Tim
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate