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

2016-12-03 Thread Sparapani, Rodney
Hi Paul: Use BUGS mode which is part of ESS… (require ‘ess-bugs-d) Then name your file model.bug Rodney __ ESS-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/ess-help

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

2016-12-03 Thread Martin Maechler
Also, M-x R-mode but that would need to be done again every time... If you don't want to rename to model.R Add a line ## -*- R -*- at the top (or close enough to the very top; this tells emacs to use R-mode ; there are several (more flexible, more to write) versions of such so-called "file