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

A.J. Rossini rossini at blindglobe.net
Wed Jul 17 14:51:43 CEST 2002


I suspect noweb mode.  It doesn't have a good memory when you flip
between modes.

Worse, it's not quite the right thing to do.  There should be a 
(require 'ess-noweb) somewhere there, as per the suggestions in
ess-site.el. 

Make sure that the noweb from ESS is loaded, rather than that from
other sources.

best,
-tony

>>>>> "markus" == Markus Jäntti <markus.jantti at iki.fi> writes:

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

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

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

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

    markus> Regards,

    markus> Markus
    markus> -- 
    markus> Markus Jantti
    markus> Statistics Finland and University of Tampere
    markus> markus.jantti at iki.fi
    markus> http://www.iki.fi/~mjantti

    markus> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
    markus> ess-help mailing list -- To (un)subscribe, send
    markus> subscribe	or	unsubscribe
    markus> (in the "body", not the subject !)  To: ess-help-request at stat.math.ethz.ch
    markus> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


-- 
A.J. Rossini				Rsrch. Asst. Prof. of Biostatistics
U. of Washington Biostatistics		rossini at u.washington.edu	
FHCRC/SCHARP/HIV Vaccine Trials Net	rossini at scharp.org
-------------- http://software.biostat.washington.edu/ ----------------
FHCRC: M: 206-667-7025 (fax=4812)|Voicemail is pretty sketchy/use Email
UW:   Th: 206-543-1044 (fax=3286)|Change last 4 digits of phone to FAX
(my tuesday/wednesday/friday locations are completely unpredictable.)



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