I'm having the same problem described below.

If I try to start stata locally via ess, I get the error message
"/usr/bin/env: stata: No such file or directory"

Oddly, if I type "/usr/bin/env stata" into a terminal, stata starts there
just fine.

Any ideas?  I've scoured the internet, and haven't found anything useful.

Paul

On Mon, Aug 1, 2011 at 10:27 AM, Rodney Sparapani <rsparapa@mcw.edu> wrote:

> Jim Maas wrote:
>
>> I'm attempting to use the ESS stata mode to run a file but get this error
>> in response to M-x stata
>>
>> /usr/bin/env: stata: No such file or directory
>>
>> my installation of stata is actually  in
>>
>> /opt/stata12/
>>
>> and I've added this to the path so both terminal and graphical stata start
>> fine from a terminal window.
>>
>> Could anyone tell me how to configure emacs/ess to look for stata in this
>> directory?
>>
>> Thanks
>>
>> J
>>
>>
> Hi Jim:
>
> Does such a file name exist in your PATH?
>
> Rodney
>
>
> ______________________________**________________
> ESS-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/**listinfo/ess-help<https://stat.ethz.ch/mailman/listinfo/ess-help>
>

	[[alternative HTML version deleted]]

