Installing the development version of lme4 requires RcppEigen.  If you have
updated Rcpp to 0.10.1 installation of RcppEigen currently fails. A new
version of RcppEigen has been uploaded to CRAN.  It should percolate to the
mirrors in the next couple of days.


On Thu, Nov 29, 2012 at 11:10 AM, Nicholas Lewin-Koh <nikko@hailmail.net>wrote:

> Hi,
> RcppEigen is failing installation for me. I am running linux Mint and
> sessionInfo()
> R version 2.15.2 Patched (2012-10-29 r61044)
> Platform: x86_64-unknown-linux-gnu (64-bit)
>
> locale:
>  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
>  [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
>  [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8
>  [7] LC_PAPER=C                 LC_NAME=C
>  [9] LC_ADDRESS=C               LC_TELEPHONE=C
> [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
>
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base
>
> other attached packages:
> [1] XML_3.95-0.1        BiocInstaller_1.8.3
>
> loaded via a namespace (and not attached):
> [1] tcltk_2.15.2 tools_2.15.2
>
> Here is the out output from install.packages
> install.packages("RcppEigen", depend=T)
> trying URL
> 'http://cran.at.r-project.org/src/contrib/RcppEigen_0.3.1.tar.gz'
> Content type 'application/x-gzip' length 1057901 bytes (1.0 Mb)
> opened URL
> ==================================================
> downloaded 1.0 Mb
>
> * installing *source* package ‘RcppEigen’ ...
> ** package ‘RcppEigen’ successfully unpacked and MD5 sums checked
> ** libs
> g++ -I/usr/local/lib/R/include -DNDEBUG  -I/usr/local/include
> -I"/usr/local/lib/R/library/Rcpp/include"  -I../inst/include -fpic  -g
> -O2  -c RcppEigen.cpp -o RcppEigen.o
> g++ -I/usr/local/lib/R/include -DNDEBUG  -I/usr/local/include
> -I"/usr/local/lib/R/library/Rcpp/include"  -I../inst/include -fpic  -g
> -O2  -c fastLm.cpp -o fastLm.o
> In file included from ../inst/include/RcppEigen.h:27:0,
>                  from fastLm.h:25,
>                  from fastLm.cpp:23:
> ../inst/include/RcppEigenWrap.h: In constructor
> ‘Rcpp::traits::Exporter<Eigen::Map<Eigen::Matrix<_Scalar,
> -0x00000000000000001, -0x00000000000000001> > >::Exporter(SEXP) [with T
> = double, SEXP = SEXPREC*]’:
> /usr/local/lib/R/library/Rcpp/include/Rcpp/as.h:55:51:   instantiated
> from ‘T Rcpp::internalinstall.packages("RcppEigen", depend=T)
> trying URL
> 'http://cran.at.r-project.org/src/contrib/RcppEigen_0.3.1.tar.gz'
> Content type 'application/x-gzip' length 1057901 bytes (1.0 Mb)
> opened URL
> ==================================================
> downloaded 1.0 Mb
>
> * installing *source* package ‘RcppEigen’ ...
> ** package ‘RcppEigen’ successfully unpacked and MD5 sums checked
> ** libs
> g++ -I/usr/local/lib/R/include -DNDEBUG  -I/usr/local/include
> -I"/usr/local/lib/R/library/Rcpp/include"  -I../inst/include -fpic  -g
> -O2  -c RcppEigen.cpp -o RcppEigen.o
> g++ -I/usr/local/lib/R/include -DNDEBUG  -I/usr/local/include
> -I"/usr/local/lib/R/library/Rcpp/include"  -I../inst/include -fpic  -g
> -O2  -c fastLm.cpp -o fastLm.o
> In file included from ../inst/include/RcppEigen.h:27:0,
>                  from fastLm.h:25,
>                  from fastLm.cpp:23:
> ../inst/include/RcppEigenWrap.h: In constructor
> ‘Rcpp::traits::Exporter<Eigen::Map<Eigen::Matrix<_Scalar,
> -0x00000000000000001, -0x00000000000000001> > >::Exporter(SEXP) [with T
> = double, SEXP = SEXPREC*]’:
> /usr/local/lib/R/library/Rcpp/include/Rcpp/as.h:55:51:   instantiated
> from ‘T Rcpp::internal::as(SEXP, Rcpp::traits::r_type_generic_tag) [with
> T = Eigen::Map<Eigen::Matrix<double, -0x00000000000000001,
> -0x00000000000000001>, 0, Eigen::Stride<0, 0> >, SEXP = SEXPREC*]’
> /usr/local/lib/R/library/Rcpp/include/Rcpp/as.h:100:89:   instantiated
> from ‘T Rcpp::as(SEXP) [with T = Eigen::Map<Eigen::Matrix<double,
> -0x00000000000000001, -0x00000000000000001>, 0, Eigen::Stride<0, 0> >,
> SEXP = SEXPREC*]’
> fastLm.cpp:207:50:   instantiated from here
> ../inst/include/RcppEigenWrap.h:203:17: error: no matching function for
> call to ‘r_vector_start(SEXPREC*&)’
> ../inst/include/RcppEigenWrap.h:203:17: note: candidate is:
> /usr/local/lib/R/library/Rcpp/include/Rcpp/internal/r_vector.h:30:51:
> note: template<int RTYPE> typename Rcpp::traits::storage_type::type*
> Rcpp::internal::r_vector_start(SEXP)
> ../inst/include/RcppEigenWrap.h: In constructor
> ‘Rcpp::traits::Exporter<Eigen::Map<Eigen::Matrix<_Scalar,
> -0x00000000000000001, 1> > >::Exporter(SEXP) [with T = double, SEXP =
> SEXPREC*]’:
> /usr/local/lib/R/library/Rcpp/include/Rcpp/as.h:55:51:   instantiated
> from ‘T Rcpp::internalinstall.packages("RcppEigen", depend=T)
> trying URL
> 'http://cran.at.r-project.org/src/contrib/RcppEigen_0.3.1.tar.gz'
> Content type 'application/x-gzip' length 1057901 bytes (1.0 Mb)
> opened URL
> ==================================================
> downloaded 1.0 Mb
>
> * installing *source* package ‘RcppEigen’ ...
> ** package ‘RcppEigen’ successfully unpacked and MD5 sums checked
> ** libs
> g++ -I/usr/local/lib/R/include -DNDEBUG  -I/usr/local/include
> -I"/usr/local/lib/R/library/Rcpp/include"  -I../inst/include -fpic  -g
> -O2  -c RcppEigen.cpp -o RcppEigen.o
> g++ -I/usr/local/lib/R/include -DNDEBUG  -I/usr/local/include
> -I"/usr/local/lib/R/library/Rcpp/include"  -I../inst/include -fpic  -g
> -O2  -c fastLm.cpp -o fastLm.o
> In file included from ../inst/include/RcppEigen.h:27:0,
>                  from fastLm.h:25,
>                  from fastLm.cpp:23:
> ../inst/include/RcppEigenWrap.h: In constructor
> ‘Rcpp::traits::Exporter<Eigen::Map<Eigen::Matrix<_Scalar,
> -0x00000000000000001, -0x00000000000000001> > >::Exporter(SEXP) [with T
> = double, SEXP = SEXPREC*]’:
> /usr/local/lib/R/library/Rcpp/include/Rcpp/as.h:55:51:   instantiated
> from ‘T Rcpp::internal::as(SEXP, Rcpp::traits::r_type_generic_tag) [with
> T = Eigen::Map<Eigen::Matrix<double, -0x00000000000000001,
> -0x00000000000000001>, 0, Eigen::Stride<0, 0> >, SEXP = SEXPREC*]’
> /usr/local/lib/R/library/Rcpp/include/Rcpp/as.h:100:89:   instantiated
> from ‘T Rcpp::as(SEXP) [with T = Eigen::Map<Eigen::Matrix<double,
> -0x00000000000000001, -0x00000000000000001>, 0, Eigen::Stride<0, 0> >,
> SEXP = SEXPREC*]’
> fastLm.cpp:207:50:   instantiated from here
> ../inst/include/RcppEigenWrap.h:203:17: error: no matching function for
> call to ‘r_vector_start(SEXPREC*&)’
> ../inst/include/RcppEigenWrap.h:203:17: note: candidate is:
> /usr/local/lib/R/library/Rcpp/include/Rcpp/internal/r_vector.h:30:51:
> note: template<int RTYPE> typename Rcpp::traits::storage_type::type*
> Rcpp::internal::r_vector_start(SEXP)
> ../inst/include/RcppEigenWrap.h: In constructor
> ‘Rcpp::traits::Exporter<Eigen::Map<Eigen::Matrix<_Scalar,
> -0x00000000000000001, 1> > >::Exporter(SEXP) [with T = double, SEXP =
> SEXPREC*]’:
> /usr/local/lib/R/library/Rcpp/include/Rcpp/as.h:55:51:   instantiated
> from ‘T Rcpp::internal::as(SEXP, Rcpp::traits::r_type_generic_tag) [with
> T = Eigen::Map<Eigen::Matrix<double, -0x00000000000000001, 1>, 0,
> Eigen::Stride<0, 0> >, SEXP = SEXPREC*]’
> /usr/local/lib/R/library/Rcpp/include/Rcpp/as.h:100:89:   instantiated
> from ‘T Rcpp::as(SEXP) [with T = Eigen::Map<Eigen::Matrix<double,
> -0x00000000000000001, 1>, 0, Eigen::Stride<0, 0> >, SEXP = SEXPREC*]’
> fastLm.cpp:208:50:   instantiated from here
> ../inst/include/RcppEigenWrap.h:169:17: error: no matching function for
> call to ‘r_vector_start(SEXPREC*&)’
> ../inst/include/RcppEigenWrap.h:169:17: note: candidate is:
> /usr/local/lib/R/library/Rcpp/include/Rcpp/internal/r_vector.h:30:51:
> note: template<int RTYPE> typename Rcpp::traits::storage_type::type*
> Rcpp::internal::r_vector_start(SEXP)
> make: *** [fastLm.o] Error 1
> ERROR: compilation failed for package ‘RcppEigen’
> * removing ‘/usr/local/lib/R/library/RcppEigen’
> * restoring previous ‘/usr/local/lib/R/library/RcppEigen’
>
> ::as(SEXP, Rcpp::traits::r_type_generic_tag) [with T =
> Eigen::Map<Eigen::Matrix<double, -0x00000000000000001, 1>, 0,
> Eigen::Stride<0, 0> >, SEXP = SEXPREC*]’
> /usr/local/lib/R/library/Rcpp/include/Rcpp/as.h:100:89:   instantiated
> from ‘T Rcpp::as(SEXP) [with T = Eigen::Map<Eigen::Matrix<double,
> -0x00000000000000001, 1>, 0, Eigen::Stride<0, 0> >, SEXP = SEXPREC*]’
> fastLm.cpp:208:50:   instantiated from here
> ../inst/include/RcppEigenWrap.h:169:17: error: no matching function for
> call to ‘r_vector_start(SEXPREC*&)’
> ../inst/include/RcppEigenWrap.h:169:17: note: candidate is:
> /usr/local/lib/R/library/Rcpp/include/Rcpp/internal/r_vector.h:30:51:
> note: template<int RTYPE> typename Rcpp::traits::storage_type::type*
> Rcpp::internal::r_vector_start(SEXP)
> make: *** [fastLm.o] Error 1
> ERROR: compilation failed for package ‘RcppEigen’
> * removing ‘/usr/local/lib/R/library/RcppEigen’
> * restoring previous ‘/usr/local/lib/R/library/RcppEigen’
>
> ::as(SEXP, Rcpp::traits::r_type_generic_tag) [with T =
> Eigen::Map<Eigen::Matrix<double, -0x00000000000000001,
> -0x00000000000000001>, 0, Eigen::Stride<0, 0> >, SEXP = SEXPREC*]’
> /usr/local/lib/R/library/Rcpp/include/Rcpp/as.h:100:89:   instantiated
> from ‘T Rcpp::as(SEXP) [with T = Eigen::Map<Eigen::Matrix<double,
> -0x00000000000000001, -0x00000000000000001>, 0, Eigen::Stride<0, 0> >,
> SEXP = SEXPREC*]’
> fastLm.cpp:207:50:   instantiated from here
> ../inst/include/RcppEigenWrap.h:203:17: error: no matching function for
> call to ‘r_vector_start(SEXPREC*&)’
> ../inst/include/RcppEigenWrap.h:203:17: note: candidate is:
> /usr/local/lib/R/library/Rcpp/include/Rcpp/internal/r_vector.h:30:51:
> note: template<int RTYPE> typename Rcpp::traits::storage_type::type*
> Rcpp::internal::r_vector_start(SEXP)
> ../inst/include/RcppEigenWrap.h: In constructor
> ‘Rcpp::traits::Exporter<Eigen::Map<Eigen::Matrix<_Scalar,
> -0x00000000000000001, 1> > >::Exporter(SEXP) [with T = double, SEXP =
> SEXPREC*]’:
> /usr/local/lib/R/library/Rcpp/include/Rcpp/as.h:55:51:   instantiated
> from ‘T Rcpp::internal::as(SEXP, Rcpp::traits::r_type_generic_tag) [with
> T = Eigen::Map<Eigen::Matrix<double, -0x00000000000000001, 1>, 0,
> Eigen::Stride<0, 0> >, SEXP = SEXPREC*]’
> /usr/local/lib/R/library/Rcpp/include/Rcpp/as.h:100:89:   instantiated
> from ‘T Rcpp::as(SEXP) [with T = Eigen::Map<Eigen::Matrix<double,
> -0x00000000000000001, 1>, 0, Eigen::Stride<0, 0> >, SEXP = SEXPREC*]’
> fastLm.cpp:208:50:   instantiated from here
> ../inst/include/RcppEigenWrap.h:169:17: error: no matching function for
> call to ‘r_vector_start(SEXPREC*&)’
> ../inst/include/RcppEigenWrap.h:169:17: note: candidate is:
> /usr/local/lib/R/library/Rcpp/include/Rcpp/internal/r_vector.h:30:51:
> note: template<int RTYPE> typename Rcpp::traits::storage_type::type*
> Rcpp::internal::r_vector_start(SEXP)
> make: *** [fastLm.o] Error 1
> ERROR: compilation failed for package ‘RcppEigen’
> * removing ‘/usr/local/lib/R/library/RcppEigen’
> * restoring previous ‘/usr/local/lib/R/library/RcppEigen’
>
> Seems to be a problem with the recent Rcpp?
>
> Nicholas
>

	[[alternative HTML version deleted]]

