Dear listers,

I am trying to install RcppBDT_0.2.1 on my Windows machine using the function
install.packages("./RcppBDT_0.2.1.tar.gz", repos=NULL, type="source").
Since this package is not like most of other packages in that it
requires Rcpp and boost,
I have installed Rcpp and boost first, and executed the
install.packages function.

Then, I got the following error message:
-----------------------------------------------------------------------
*** arch - i386
ERROR: compilation failed for package 'RcppBDT'
* removing 'C:/Users/skim13/Documents/R/win-library/2.14/RcppBDT'
Warning in install.packages :
running command 'C:/PROGRA~1/R/R-214~1.1/bin/x64/R CMD INSTALL -l
"C:/Users/skim13/Documents/R/win-library/2.14"
"RcppBDT_0.2.1.tar.gz"' had status 1
Warning in install.packages :
installation of package ‘RcppBDT_0.2.1.tar.gz’ had non-zero exit status
-----------------------------------------------------------------------

It seems Rcpp is automatically detected by PKG_LIBS set in Makevars
and Makevars.win and the problem looks to be boost.
But I have placed boost under
C:/Users/skim13/Documents/R/win-library/2.14/boost_1_51, the default
library folder and set BOOSTLIB accordingly
(BOOSTLIB=C:/Users/skim13/Documents/R/win-library/2.14/boost_1_51).
Can you please tell me what I have to do to make it work?

I have tried this on my Mac and Linux, and it is successfully
installed on both.
This makes me wonder even more why it cannot be installed on Windows.

Thanks,
HJ.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to