[ESS] Problems after Debian update

Vitalie Spinu spinuvit at gmail.com
Fri May 4 17:38:07 CEST 2012


>>>> Brendan Halpin <brendan.halpin at ul.ie>
>>>> on Fri, 4 May 2012 16:15:46 +0100 wrote:

  > I've just done an apt-get update on Debian unstable, and ESS is acting
  > strange.

  > When I try to run Stata, it asks for the starting directory, then hangs
  > with this message:
  > Type C-h m for help on ESS version YY.MM

It looks like ESS waiting for STATA prompt. There have been some changes
in this mechanism several months ago, but I don't think anyone looked
into adjusting STATA. Where can I grab trial stata for linux so I can
figure it out?

  > C-g and I can switch to the Stata buffer. There, things work well except
  > I can't recall commands with C-up-arrow, getting instead:

  > ess-error: Beggining of input not found

It also has to do with the prompt. One thing you can try is to set
comint-use-prompt-regexp to nil:

(add-hook 'ess-post-run-hook
	  (lambda () (when (equal ess-language "STA")
		       (setq comint-use-prompt-regexp nil))))

But I really need stata to solve that for sure.

  > ess-version gives this: 

  > ess-version : YY.MM YY-MM-rNNNN

This is solved development version.



More information about the ESS-help mailing list