[Rcpp-devel] calling a homegrown cpp function from my own package when using sourceCpp

Hadley Wickham h.wickham at gmail.com
Tue Dec 31 16:25:05 CET 2013


> I am reluctant to follow Romains suggestion because the package has a lot of c-code in it, so using load_all() takes quite some time because all c and c++ code is being compiled. (Maybe that is just slow on windows? I tried on linux (ubuntu) too but I can't get devtools installed (because RCurl for some reason can't be installed)).

As well as Dirk's comment, note that load_all() only needs to
re-compile changed files, so it should only be the first compile that
is slow (unless you're changing header files).

Hadley

-- 
http://had.co.nz/


More information about the Rcpp-devel mailing list