[Rcpp-devel] Can't compile BOOST package via Rcpp on Windows7 OS
On Tue, Nov 11, 2014 at 9:51 AM, ??? ??????? <david.arenburg at gmail.com> wrote:
Hi guys, So I've installed and loaded the BH package without any errors, then I tried to run this example but sourceCpp failed to compile it. I was wondering if there is a quick fix for this and I'm just making some very basic mistake here I saw this post lately and I'm not sure if this means that I just can't compile BH on windows or just can't build a package which depends on it As a side note, I was trying to add the quantile() function from BOOST to this SO answer in order to improve it for future readers as I didn't find any nice BOOST/Rcpp implementations online other than in Dirks Gallery Thanks, David --- sessionInfo() R version 3.1.1 (2014-07-10) Platform: x86_64-w64-mingw32/x64 (64-bit) locale: [1] LC_COLLATE=Hebrew_Israel.1255 LC_CTYPE=Hebrew_Israel.1255 LC_MONETARY=Hebrew_Israel.1255 [4] LC_NUMERIC=C LC_TIME=Hebrew_Israel.1255 attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] Rcpp_0.11.3 BH_1.54.0-4 loaded via a namespace (and not attached): [1] tools_3.1.1
_______________________________________________ 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
Calling the file test_boost.cpp this ran without errors for me:
library(Rcpp)
sourceCpp("test_boost.cpp")
and repeating the test runs shown at the link you mentioned gave the
same answers as there. I am using Windows 8.1, the same Rcpp and BH
versions as you and
R.version.string
[1] "R version 3.1.2 RC (2014-10-25 r66870)" and this version of Rtools: C:\Rtools>type VERSION.txt Rtools version 3.1.0.1942
Statistics & Software Consulting GKX Group, GKX Associates Inc. tel: 1-877-GKX-GROUP email: ggrothendieck at gmail.com