[R-SIG-Mac] project request: TextWrangler plugin

David Airey david.airey at Vanderbilt.Edu
Sun Nov 9 16:55:58 CET 2008


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
	dataninja at gmail.com
*)
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, r-sig-mac-request at stat.math.ethz.ch wrote:
>
> Message: 1
> Date: Sat, 08 Nov 2008 18:07:32 -0500
> From: Carl Witthoft <carl at witthoft.com>
> Subject: [R-SIG-Mac] project request: TextWrangler plugin
> To: r-sig-mac at stat.math.ethz.ch
> Message-ID: <49161BB4.4080305 at witthoft.com>
> 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
>
>



More information about the R-SIG-Mac mailing list