[Rcpp-devel] Eclipse/statet IDE integration

Rodney Sparapani rsparapa at mcw.edu
Wed Sep 12 15:15:53 CEST 2012


On 09/11/2012 10:29 AM, Ian Fellows wrote:
> It sounds like you are actually stuck on step 2. Your statet R configuration is not set up. In External Tools, go to R Config and make sure that you have all your paths set up (e.g. R_HOME).
>
> This is not an Rcpp issue in particular.
>
>
> ian

Dear Ian:

By the way, I am still fighting with Eclipse.  However, I managed
to install the Emacs equivalent packages CEDET (including semantic)
and ECB (see I can actually install something ;o)  My question is:
what does Eclispe actually show?  For example, if I have this Rcpp
source in a .cxx file:

#ifndef DEBUG
#include <Rcpp.h>

using namespace Rcpp;
using namespace Rcpp::stats;

#endif

NumericVector x=qnorm(as<NumericVector>(arg1), as<double>(arg2), 1.);

return wrap(x);

If I place the cursor at wrap(, then I see the function prototype in
the minibuffer: "wrap.h: inline SEXP wrap(const T& object)".
That's very nice!  However, if I place it at qnorm(, then all I get is:
"Rmath.h: const extern "C" qnorm".  Not very helpful.  Could you share
with us what you see in Eclipse?

Thanks!

-- 
Rodney Sparapani, PhD  Center for Patient Care and Outcomes Research
Sr. Biostatistician               http://www.mcw.edu/pcor
4 wheels good, 2 wheels better!   Medical College of Wisconsin (MCW)
WWLD?:  What Would Lombardi Do?   Milwaukee, WI, USA


More information about the Rcpp-devel mailing list