I'm trying to get a grip on C++/Rcpp as an extension to R for heavy computational tasks. Ultimately, these C++ libs should be integrated in a package, and therefor I'm looking for a setup / combination of tools / IDE that I would need to work easily. I know much is taste dependent, but still it would be nice to know my options before choosing.
So : when you develop R packages with C++ libs, what is the setup you work with?
Sorry if this question has been asked before. I found a list of all editors for R, but nothing specifically directed towards developing of packages including C++ code. Any hints or tips are really appreciated.
Edit : platform is Windows, but I can move to Linux without problems (dual boot, only thing keeping me from using ubuntu is the lack of a decent driver for my old card/old screen combination)
Eclipse is also used for C and C++ development as well as PHP among the other programming languages. Eclipse IDE is written in Java. It mainly consists of a base 'workspace' and a plug-in system so that we can add more plugins and extend the functionality of the IDE.
C/C++ are not officially supported in IntelliJ IDEA, but you can use CLion. You can browse the JetBrains Marketplace to find an official plugin that adds support for almost any language, framework or technology used today, or for third-party plugins.
Visual Studio 2022 CommunityThe best comprehensive IDE for .NET and C++ developers on Windows.
Eclipse + statet if you want to join in us in the modern world :)
I'm of course fully in favour of more Rcpp work :)
As for your questions, and in order:
qtcreator
IDE which is pretty nice on Linux and Windows (but doesn't do R).Edit: So in a way, this is really no different from normal R / C / C++ / Fortran development. And in that case I usually refer to R FAQ Section 6 which is devoted entirely to R and Emacs :) With that said, setting Emacs up for C++ work is not obvious and there are a number of questions and posts here. I do not use any particular class browser but there are some, as well as approaches to auto-completion of types etc.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With