[R] editing Sweave files in xemacs with ess (noweb), auctex and reftex

Markus Jäntti markus.jantti at iki.fi
Wed Jul 17 13:27:19 CEST 2002

I am having some trouble getting reftex, in particular the bibtex
related features, to work properly in xemacs when editing text in Sweave
files. I have added

(defun Rnw-mode ()
  (if (fboundp 'R-mode)
      (setq noweb-default-code-mode 'R-mode)))
(add-to-list 'auto-mode-alist '("\\.Rnw\\'" . Rnw-mode))
(add-to-list 'auto-mode-alist '("\\.Snw\\'" . Snw-mode))

in my .xemacs/init.el file, as suggested by the Sweave manual FAQ. 

While this most likely involves reftex/ess interaction, I wondered
if someone on these lists is successfully using the combination
AUCTeX LaTeX-mode/bib-cite/reftex in xemacs 21.4.8 and ess 5.1.20
(on a GNU/Linux Debian unstable system). 


Markus Jantti
Statistics Finland and University of Tampere
markus.jantti at iki.fi

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list