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

mh fe mhf2000 at gmail.com
Thu Jan 2 11:04:43 CET 2014


To install "RCurl" you  need to install some c++ library  headers (in
Ubuntu). I had the same problem  but unfortunately I can not remember them
exactly, try to install the libraries that have the "curl" in their names.

Mohammad


On Thu, Jan 2, 2014 at 7:55 PM, Søren Højsgaard <sorenh at math.aau.dk> wrote:

> Good point; hadn't noticed that. Thanks!
> Søren
>
> -----Original Message-----
> From: Hadley Wickham [mailto:h.wickham at gmail.com]
> Sent: 31. december 2013 16:25
> To: Søren Højsgaard
> Cc: Dirk Eddelbuettel; Romain Francois (romain at r-enthusiasts.com);
> rcpp-devel at r-forge.wu-wien.ac.at
> Subject: Re: [Rcpp-devel] calling a homegrown cpp function from my own
> package when using sourceCpp
>
> > 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/
> _______________________________________________
> Rcpp-devel mailing list
> Rcpp-devel at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20140102/bba975f6/attachment.html>


More information about the Rcpp-devel mailing list