[ESS] Curly brace indentation

2016-12-05 Thread Jan T Kim via ESS-help
Hello All, since some time, I get the following indentation behaviour: If I type f <- function(x) { return(x * x); } this gets indented as f <- function(x) { return(x * x); } i.e. the closing curly brace is not vertically aligned with the opening one. I

Re: [ESS] how to edit openbugs model file?

2016-12-05 Thread Paul Johnson
Thanks, everybody. I'm taking the suggestion Martin offered, since this thing is required to be named *.txt in the current OpenBUGS. Solution Put this at the end of the *.txt file: # Local Variables: # mode: R # End: That works. This question was raised by an interesting problem. This might b