[ESS] knitr

Kevin Wright kw.stat at gmail.com
Wed Jun 6 23:01:56 CEST 2012


1. I also have problems with font-locking and key maps not always
working properly as I switch from code chunks and doc chunks.
2. "p" for PDF is a definite thumb-up.
3. There's also mmm-mode for multiple major modes.

Kevin


On Wed, Jun 6, 2012 at 3:58 PM, Brett Presnell <presnell at stat.ufl.edu> wrote:
>
> A comment, for whatever it's worth.
>
> I have a lot more experience with AUCTeX and ESS than with org-mode, but
> org-mode has at least one feature that I think is a big improvement over
> editing Rnw files with AUCTeX + ESS + noweb + whatever-else-is-involved.
> Code "chunks" in org-mode (delimited by #+BEGIN_SRC and #+END_SRC) can
> be edited in a separate emacs window by typing C-c '.  This window is
> opened in the appropriate mode (ESS for R code) and saved back to the
> document by typing C-c ' again.
>
> I'm not sure where the implementation would have to take place for Rnw
> or knitr files (ESS?  AUCTeX?  Both?), but something like this would
> avoid mode switching between AUCTeX and ESS, which has never worked
> properly for me (maybe because I find it incredibly cumbersome to avoid
> all use of dollar signs in my R code).  This may seem like a minor
> thing, but these mode switching problems often make editing Rnw files
> into a fairly painful experience for me, and I do a lot of it.
>
> Does no one else have this problem anymore?
>
> ______________________________________________
> ESS-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help



-- 
Kevin Wright



More information about the ESS-help mailing list