问题
… similar to the StatET plugin that allows you to run R code from Eclipse?
I tried googling it but nothing useful has turned up.
回答1:
None that I know. If you're a CLI junky or willing to use Emacs, you might find limited support through the ESS package and the ado-mode. This is what I used on Mac OS X when I want to run short snippet of code, or use Stata in batch mode, but there's no interactive graphical output (you can just save graphics as PDF as usual). The ado-mode
provides basic syntax highlighting and can send region or buffer to a running instance of Stata GUI program (not the executable file, stata-*
, that is being used by ESS
).
Here are two screenshots of (top) edition of code in Emacs with the ado-mode, and (bottom) an interactive Stata session (no plot produced).


Some notes on text editors for Stata users provides a list of text editors that can be used with Stata (without interactive facilities, though).
回答2:
There seems to be a promising project starting up here:
http://mas802.wordpress.com/2011/09/06/stata-plugin-for-eclipse-alpha/
来源:https://stackoverflow.com/questions/6224997/is-there-a-way-to-access-stata-from-eclipse