Good point; hadn't noticed that. Thanks!
Søren

-----Original Message-----
From: Hadley Wickham [mailto:[email protected]] 
Sent: 31. december 2013 16:25
To: Søren Højsgaard
Cc: Dirk Eddelbuettel; Romain Francois ([email protected]); 
[email protected]
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
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to