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_development_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
On Friday 23 February 2007 05:49, 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_devel >opment_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 ?Emacs is quite nice, as it has a package for R integration called ESS (emacs speaks statistics). I do not use a GUI on Mac or Linux and just use emacs/ESS for running R as well as coding. IDE's such as Kdevelop, Eclipse, etc., have a lot of enterprise-level tools like automatic makefile generation, etc., but emacs works fine for me and what I do. Sean
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_development_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 >-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
On Friday 23 February 2007 11:49, 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_devel >opment_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 ?Dear Vincent, I wouldn't let the date of 2004 scare you away from emacs. And, if I understand, in windows you can also use xemacs and/or emacs. One extremely nice feature of using Emacs is using the very same editor for R, C, C++, or anything else for that matter. It certainly fits your other requirements> Some of my criterions : not proprietary, not too heavy, > open to linux, not java gasworks, still maintained, etcGood luck! R.> > 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}}
Thanks for those first answers. Indeed i forgot to precise that i'm currently working on windows (but would like to be able to evolve to linux).
Den Fr, 2007-02-23, 11:49 skrev mel:> 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_development_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/Not a dead end: Emacs development has continued and version 22 is due RSN. For Windows users, I'd recommend EmacsW32 and binaries of the patched Emacs available from http://ourcomments.org/Emacs/EmacsW32.html. The binaries are current (22.0.93.1 last time I checked) and the provided EmacsW32 extension offers quite a few goodies. HTH, Henric> > 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 > >
I don't know if ess runs under xemacs, but historically, xemacs (a fork of the emacs code) had windows support earlier than gnu emacs did, and obviously, it is still being worked on as the last version is December 2006. http://www.xemacs.org/Download/win32/ HTH 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_development_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
Le Vendredi 23 F?vrier 2007 05:49, mel a ?crit?:> 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_devel >opment_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 ?So, many other people told you that Emacs is a good choice. If you want to try it out, I also maintain a modified version of GNU Emacs that is simple to install and works with ESS and the latest version of R out of the box: http://vgoulet.act.ulaval.ca/emacs Please note that the bells and whistles of EmacsW32 are not included. It is a plain GNU Emacs 21.3 with AUCTeX, ESS, Aspell and other minor enhancements thrown in. HTH -- Vincent Goulet, Associate Professor ?cole d'actuariat Universit? Laval, Qu?bec Vincent.Goulet at act.ulaval.ca http://vgoulet.act.ulaval.ca
On windows the currently maintained version is xemacs...the projcects split some time ago. -- Grant Izmirlian NCI ????? ????????? On Friday 23 February 2007 06:00, r-devel-request at r-project.org wrote:> [Rd] IDE for R C++ package writing ? > 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_development_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
First, great thanks to all for all the answers. I confess i was a bit scared about (re)learning a possible tomorrow obsolete tool. I'm however quite astonished nobody proposes another tool. Do 100% R package developers use emacs ? Anyway, given the answers, it seems i'll go on emacs or xemacs. Thanks for the guidance. Vincent