Send to Stata AppleScript for TextWrangler

This AppleScript allows you to process a Stata .do file from within TextWrangler.

To install, copy the .scpt file to

~/Library/Application Support/TextWrangler/Scripts/

Recommended: Assign a keyboard shortcut to the script (or any script) by (1) selecting Window > Palettes > Scripts (2) selecting the SendToStata Script and (3) choosing “Set Key.”

Update: Josef Montag has written an updated script with advanced features.

Update: Steven Samuels has supplied a script that can execute code snippets in either Stata or R. The script is available here.


  • Quick navigation

  • Categories


Follow

Get every new post delivered to your Inbox.