You might see if you can simply modify the Apple Scripts used by Stata
BBedit or TextWrangler folk:
http://fmwww.bc.edu/repec/bocode/t/textEditors.html
HEre is an exmaple:
(*
Send file to Stata from within TextWrangler
Requires log to be opened manually - no big deal, right?
J. Gardner
dataninja.wordpress.com
[EMAIL PROTECTED]
*)
tell application "BBEdit"
set loc to file of window 1
--set ploc to POSIX path of loc
end tell
tell application "StataMP"
activate
open loc
end tell
On Nov 9, 2008, at 5:00 AM, [EMAIL PROTECTED] wrote:
Message: 1
Date: Sat, 08 Nov 2008 18:07:32 -0500
From: Carl Witthoft <[EMAIL PROTECTED]>
Subject: [R-SIG-Mac] project request: TextWrangler plugin
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
I know :-), I should just learn AquaMacs w/ ESS, but I am comfortable
w/ TextWrangler. So, just thought I'd put a shout out to see if
anyone
would like to write a plugin that would let the user execute code (in
R.app) from a TextWrangler window.
If not, well, I'll live :-0
Carl
_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac