[Rcpp-devel] Installing RcppArmadillo on Cygwin (windows 8)

Dirk Eddelbuettel edd at debian.org
Wed Feb 19 20:51:15 CET 2014


Ka Yee,

On 19 February 2014 at 11:30, Ka Yee Yeung wrote:
| Hi,
| 
| I am wondering if anybody has successfully installed RcppArmadillo version 
| 0.4.000.2 using Cygwin on Windows 8 and R 3.0.2.

Cygwin is not supported by R, and hence neither by Rcpp. You are on your own.
 
| I can install the package inside R version 3.0.2, but when I try to 
| install the package from source thru Cygwin, it complained about a missing 
| header file  "RcppArmadilloLapack.h"
| 
| Here is the detailed error message:
| 
| $ R CMD INSTALL RcppArmadillo_0.4.000.2.tar.gz
| 
| * installing to library 'C:/Program Files/R/R-3.0.2/library'
| * installing *source* package 'RcppArmadillo' ...
| ** package 'RcppArmadillo' successfully unpacked and MD5 sums checked
| ** libs
| *** arch - i386
| g++ -m32 -I"C:/PROGRA~1/R/R-30~1.2/include" -DNDEBUG -I../inst/include -I. 
| -I"C:/Program Files/R/R-3.0.2/library/Rcpp/include" 
| -I"d:/RCompile/CRANpkg/extralibs64/local/include"     -O2 -Wall 
| -mtune=core2 -c RcppArmadillo.cpp -o RcppArmadillo.o
| In file included from ../inst/include/RcppArmadilloForward.h:28:0,
|                   from ../inst/include/RcppArmadillo.h:30,
|                   from RcppArmadillo.cpp:22:
| ../inst/include/RcppArmadilloConfig.h:83:35: fatal error: 
| RcppArmadilloLapack.h: No such file or directory
|     #include <RcppArmadilloLapack.h>
|                                     ^
| 
| Any pointers would be greatly appreciated.

Look at the configure script, and the source directory. This is just a check
to see if we get Lapack from R (which is incomplete in its support on
R-release, but better in R-devel) or whether we have an external Lapack.

Dirk

-- 
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com


More information about the Rcpp-devel mailing list