tags:

views:

144

answers:

2

In Emacs Speaks Statistics for R, how can the auto replacement of "_" with "<-" be turned off?

+6  A: 

To stop this smart behaviour, add (ess-toggle-underscore nil) to your .emacs after ess-site has been loaded.

rcs
That is just what I was looking for, Thanks!
momeara
+1  A: 

What rcs said. But pressing _ again will turn the "<-" into "_" when you need it. So, when you need an underscore, just press it twice.

Eduardo Leoni