Re: [R] Editors which have strong/solid support for SWeave?

From: Ramon Diaz-Uriarte <>
Date: Thu 06 Jul 2006 - 02:42:42 EST

On Wednesday 05 July 2006 16:05, A.J. Rossini wrote:
> On 7/5/06, Ramon Diaz-Uriarte <> wrote:
> > On Wednesday 05 July 2006 10:14, A.J. Rossini wrote:
> > > Greetings!
> > >
> > > I have a few colleagues who like the idea of Sweave, but have failed
> > > to become enlightened monks of the One True Editor
> > > (
> > >
> > > Are there any other Microsoft-centric editors or IDEs which have solid
> > > support for writing SWeave documents (dual R / LaTeX enhancements
> > > similar to ESS's support)? Has anyone tried the folding editors which
> > > support Noweb?
> >
> > Dear Tony,
> >
> >
> > I often use Leo ( which
> > is like a literate editor on steroids (folding + outlining, noweb and
> > cweb support, and a _lot_ more), and I use it for all complex/long Rnw
> > documents, including interacting with R ...
> >
> > ...but I "cheat", because the editing itself (of the "nodes" or folds),
> > including submitting code to R from the R chunks, I do in emacs (with
> > ESS).
> >
> > Leo is available for Linux, Win, Mac and is written in Python.
> I've used Leo a few years ago, and liked it (but not enough to
> convert). I'll have to try it again. Thanks!

>From my Leo's usage patterns I think I'm still praying at the emacs church. I
guess my soul is saved (for now).

But I find Leo great, and I always wish I could use it more. Making it understand R syntax for syntax highlighting seems to be relatively easy, more so with the recent changes in Leo's code (, and at least one other R user who also frequents R-help, Ed Borasky, is interested in these issues (

I think what would be a real blast is to have Leo understand R (and LaTeX), more or less the way leo understands Python. For instance, when one imports a Python file it gets broken down ("outlined") by function, method, etc. This seems doable (e.g.,, but I haven't yet had time to look at it. And then, Leo also offers a general way (which I think is still only fully exploited with Python files) for autocompletion, etc, (though this seems to be a harder problem).

Just my random ramblings.



> best,
> -tony
> Muttenz, Switzerland.
> "Commit early,commit often, and commit in a repository from which we can
> easily roll-back your mistakes" (AJR, 4Jan05).

Ramón Díaz-Uriarte
Centro Nacional de Investigaciones Oncológicas (CNIO)
(Spanish National Cancer Center)
Melchor Fernández Almagro, 3
28029 Madrid (Spain)
Fax: +-34-91-224-6972
Phone: +-34-91-224-6900
PGP KeyID: 0xE89B3462

**NOTA DE CONFIDENCIALIDAD** Este correo electrnico, y en s...{{dropped}}

______________________________________________ mailing list PLEASE do read the posting guide!

Received on Thu Jul 06 02:53:20 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 06 Jul 2006 - 04:17:30 EST.

Mailing list information is available at Please read the posting guide before posting to the list.