[ESS] underscore in BUGS mode
rsparapa at mcw.edu
Fri Mar 23 14:05:50 CET 2012
Jack Tanner wrote:
> Sorry if this is a FAQ; I searched in the archives but didn't find an answer.
> 1. In ESS[BUGS] mode, underscore is bound to ess-bugs-hot-arrow, which is
> definitely wrong, because it doesn't let me create variables like foo_bar.
> 2. I'd like it if I could use smart-underscore as in ESS[S] mode, but if I do
> (define-key ess-bugs-mode-map (kbd "_") 'ess-smart-underscore)
> then there's no smart-underscore behavior, just a plain underscore.
That's true. I'm assuming that you are using BUGS/JAGS with R/S-plus.
Since I have never seen underscore used in R/S-plus, I'm assuming the
same for BUGS/JAGS. Of course, as the wags say, patches welcome.
More information about the ESS-help