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
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