From rdiaz at cnio.es  Fri Feb 23 16:57:23 2007
From: rdiaz at cnio.es (Ramon Diaz-Uriarte)
Date: Fri, 23 Feb 2007 16:57:23 +0100
Subject: [Rd] IDE for R C++ package writing ?
In-Reply-To: <1172242369.4882.112.camel@localhost.localdomain>
References: <45DEC6D6.5090005@altk.com>
	<Pine.LNX.4.64.0702231104230.3158@gannet.stats.ox.ac.uk>
	<1172242369.4882.112.camel@localhost.localdomain>
Message-ID: <200702231657.23526.rdiaz@cnio.es>

On Friday 23 February 2007 15:52, Marc Schwartz wrote:
> In addition to Prof. Ripley's comments, which I wholeheartedly support,
> I might point you to some additional tools, that enhance the use of
> Emacs for coding.
>
> I am running Emacs (alpha version 23 from cvs source) under Linux and
> while I do not do C, C++ or FORTRAN coding, these tools have
> dramatically improved my coding productivity when using R and Sweave (R
> + LaTeX) along with ESS and other standard Emacs tools such as
> Auctex/Preview-Latex.
>
>
> 1. ECB - Emacs Code Browser
>
>   http://ecb.sourceforge.net/
>
>
> 2. psvn - A Subversion interface for emacs
>
>   http://www.xsteve.at/prg/vc_svn/
>
>
> Both of the above, especially if you integrate version control using
> Subversion, greatly enhance the functionality of Emacs as an IDE.
>
> HTH,
>
> Marc Schwartz


Just a minor addition to Marc's comment: if you edit Python code, you might 
experience short, but frequent, freezes of Emacs that are related to a 
problem with semantic (a package on which ECB depends). I've not seen these 
with R (or C/C++ or LaTeX).

With that minor caveat, I find ECB is a great tool that works out of the box 
with R.

Best,

R.


>
> On Fri, 2007-02-23 at 11:17 +0000, Prof Brian Ripley wrote:
> > You seem to mention both Linux and Windows.
> >
> > Emacs and XEmacs are both stable on both platforms, and I think most R
> > developers use an emacs or vi variant for all their programming.  I would
> > not call emacs an IDE, but the main thing I find useful is to have a
> > language-aware editor (syntax highlighting, indentation ...).
> >
> > If you write a package you will also need an Rd editor, and emacs/ESS is
> > probably the best supported of those.
> >
> > Later versions of precompiled emacs for Windows have existed, but I am
> > running 21.3.1 (2002) on Windows and 21.4.1 on Linux: emacs itself is
> > very stable.  If you prefer a more graphical environment, XEmacs is a
> > good alternative and despite its name has an active Windows version.
> >
> > On Fri, 23 Feb 2007, mel wrote:
> > > Dear all,
> > >
> > > I have to develop a (hopefully) small package for R in C++.
> > > I didn't code in C++ for some years, and i'm now searching
> > > for an adequate IDE for this task.
> > >
> > > Some of my criterions : not proprietary, not too heavy,
> > > open to linux, not java gasworks, still maintained, etc
> > >
> > > After looking on several places
> > > http://en.wikipedia.org/wiki/List_of_C%2B%2B_compilers_and_integrated_d
> > >evelopment_environments
> > > http://www.freeprogrammingresources.com/cppide.html
> > > + R docs
> > > I was thinking on code::blocks, and emacs (and perhaps vim)
> > >
> > > Emacs seems used by some R developers as an R editor.
> > > So i did think on emacs because it could perhaps be interesting
> > > to have the same editor for R code and C++ code.
> > >
> > > However, when looking at the last emacs windows version,
> > > it seems to date from january 2004 ... (dead end ?)
> > > ftp://ftp.gnu.org/pub/gnu/emacs/windows/
> > >
> > > I will be grateful for all advices on this tool topic.
> > > Better choosing emacs ? or code::blocks ?
> > > or another idea ?
> > > Does somebody have an idea about the most used IDEs for
> > > R C++ package writing ?
> > >
> > > Thanks
> > > Vincent
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel

-- 
Ram?n D?az-Uriarte
Statistical Computing Team
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

http://ligarto.org/rdiaz
PGP KeyID: 0xE89B3462
(http://ligarto.org/rdiaz/0xE89B3462.asc)



**NOTA DE CONFIDENCIALIDAD** Este correo electr?nico, y en s...{{dropped}}



[Rd] IDE for R C++ package writing ?
Ramon Diaz-Uriarte