Skip to content
Back to formatted view

Raw Message

Message-ID: <50D7835A.30500@gmail.com>
Date: 2012-12-23T22:19:06Z
From: Duncan Murdoch
Subject: problem in installing RcppBDT_0.2.1
In-Reply-To: <CALHZe3PPvLD+3ZRSko3QVbfLfcjJGEeio9W-eUJX+yz6pEpeFw@mail.gmail.com>

On 12-12-23 5:10 PM, Soyeon Kim wrote:
> 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.

I don't know, but you'll get more informative error messages if you 
install from the command line using

R CMD INSTALL RcppBDT_0.2.1.tar.gz

Duncan Murdoch