It seems that RcppGSL is currently broken. Here is the installation attempt:
> install.packages('RcppGSL') --- Please select a CRAN mirror for use in this session --- Loading Tcl/Tk interface ... done trying URL ' http://watson.nci.nih.gov/cran_mirror/src/contrib/RcppGSL_0.1.1.tar.gz' Content type 'application/octet-stream' length 405639 bytes (396 Kb) opened URL ================================================== downloaded 396 Kb * installing *source* package ‘RcppGSL’ ... checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for gsl-config... /opt/local/bin/gsl-config checking for Rscript... yes configure: creating ./config.status config.status: creating src/Makevars ** libs *** arch - x86_64 /opt/local/bin/g++-mp-4.4 -I/opt/local/lib/R/include -I/opt/local/lib/R/include/x86_64 -I/opt/local/include -I../inst/include -I/opt/local/include -I"/opt/local/lib/R/library/Rcpp/include" -fPIC -pipe -O2 -g -m64 -c fastLm.cpp -o fastLm.o In file included from /opt/local/lib/R/library/Rcpp/include/RcppCommon.h:312, from ../inst/include/RcppGSLForward.h:25, from ../inst/include/RcppGSL.h:23, from fastLm.cpp:22: /opt/local/lib/R/library/Rcpp/include/Rcpp/internal/export.h: In function 'void Rcpp::internal::export_range(SEXPREC*, InputIterator) [with InputIterator = long int*]': ../inst/include/RcppGSLForward.h:107: instantiated from here /opt/local/lib/R/library/Rcpp/include/Rcpp/internal/export.h:115: error: no matching function for call to 'export_range__dispatch(SEXPREC*&, long int*&, Rcpp::traits::r_type_generic_tag)' /opt/local/lib/R/library/Rcpp/include/Rcpp/internal/export.h: In function 'void Rcpp::internal::export_range(SEXPREC*, InputIterator) [with InputIterator = long unsigned int*]': ../inst/include/RcppGSLForward.h:113: instantiated from here /opt/local/lib/R/library/Rcpp/include/Rcpp/internal/export.h:115: error: no matching function for call to 'export_range__dispatch(SEXPREC*&, long unsigned int*&, Rcpp::traits::r_type_generic_tag)' In file included from /opt/local/lib/R/library/Rcpp/include/RcppCommon.h:302, from ../inst/include/RcppGSLForward.h:25, from ../inst/include/RcppGSL.h:23, from fastLm.cpp:22: /opt/local/lib/R/library/Rcpp/include/Rcpp/internal/caster.h: In function 'TO Rcpp::internal::caster(FROM) [with FROM = SEXPREC*, TO = long int]': ../inst/include/RcppGSL_matrix.h:152: instantiated from here /opt/local/lib/R/library/Rcpp/include/Rcpp/internal/caster.h:30: error: invalid static_cast from type 'SEXPREC*' to type 'long int' /opt/local/lib/R/library/Rcpp/include/Rcpp/internal/caster.h: In function 'TO Rcpp::internal::caster(FROM) [with FROM = SEXPREC*, TO = long unsigned int]': ../inst/include/RcppGSL_matrix.h:157: instantiated from here /opt/local/lib/R/library/Rcpp/include/Rcpp/internal/caster.h:30: error: invalid static_cast from type 'SEXPREC*' to type 'long unsigned int' In file included from /opt/local/lib/R/library/Rcpp/include/RcppCommon.h:320, from ../inst/include/RcppGSLForward.h:25, from ../inst/include/RcppGSL.h:23, from fastLm.cpp:22: /opt/local/lib/R/library/Rcpp/include/Rcpp/internal/wrap.h: In function 'SEXPREC* Rcpp::internal::wrap_dispatch_importer__impl(const T&, Rcpp::traits::r_type_generic_tag) [with T = RcppGSL::gslvector_importer<long int>, elem_type = long int]': /opt/local/lib/R/library/Rcpp/include/Rcpp/internal/wrap.h:657: instantiated from 'SEXPREC* Rcpp::internal::wrap_dispatch_importer(const T&) [with T = RcppGSL::gslvector_importer<long int>, elem_type = long int]' /opt/local/lib/R/library/Rcpp/include/Rcpp/internal/wrap.h:706: instantiated from 'SEXPREC* Rcpp::internal::wrap_dispatch_unknown_importable(const T&, Rcpp::traits::true_type) [with T = RcppGSL::gslvector_importer<long int>]' /opt/local/lib/R/library/Rcpp/include/Rcpp/internal/wrap.h:716: instantiated from 'SEXPREC* Rcpp::internal::wrap_dispatch(const T&, Rcpp::traits::wrap_type_unknown_tag) [with T = RcppGSL::gslvector_importer<long int>]' /opt/local/lib/R/library/Rcpp/include/Rcpp/internal/wrap.h:831: instantiated from 'SEXPREC* Rcpp::wrap(const T&) [with T = RcppGSL::gslvector_importer<long int>]' ../inst/include/RcppGSL_vector.h:66: instantiated from here /opt/local/lib/R/library/Rcpp/include/Rcpp/internal/wrap.h:627: error: 'const class RcppGSL::gslvector_importer<long int>' has no member named 'wrap' /opt/local/lib/R/library/Rcpp/include/Rcpp/internal/wrap.h: In function 'SEXPREC* Rcpp::internal::wrap_dispatch_importer__impl(const T&, Rcpp::traits::r_type_generic_tag) [with T = RcppGSL::gslvector_importer<long unsigned int>, elem_type = long unsigned int]': /opt/local/lib/R/library/Rcpp/include/Rcpp/internal/wrap.h:657: instantiated from 'SEXPREC* Rcpp::internal::wrap_dispatch_importer(const T&) [with T = RcppGSL::gslvector_importer<long unsigned int>, elem_type = long unsigned int]' /opt/local/lib/R/library/Rcpp/include/Rcpp/internal/wrap.h:706: instantiated from 'SEXPREC* Rcpp::internal::wrap_dispatch_unknown_importable(const T&, Rcpp::traits::true_type) [with T = RcppGSL::gslvector_importer<long unsigned int>]' /opt/local/lib/R/library/Rcpp/include/Rcpp/internal/wrap.h:716: instantiated from 'SEXPREC* Rcpp::internal::wrap_dispatch(const T&, Rcpp::traits::wrap_type_unknown_tag) [with T = RcppGSL::gslvector_importer<long unsigned int>]' /opt/local/lib/R/library/Rcpp/include/Rcpp/internal/wrap.h:831: instantiated from 'SEXPREC* Rcpp::wrap(const T&) [with T = RcppGSL::gslvector_importer<long unsigned int>]' ../inst/include/RcppGSL_vector.h:72: instantiated from here /opt/local/lib/R/library/Rcpp/include/Rcpp/internal/wrap.h:627: error: 'const class RcppGSL::gslvector_importer<long unsigned int>' has no member named 'wrap' /opt/local/lib/R/library/Rcpp/include/Rcpp/internal/wrap.h: In function 'SEXPREC* Rcpp::internal::wrap_dispatch_importer__impl(const T&, Rcpp::traits::r_type_generic_tag) [with T = RcppGSL::gslmatrix_importer<long int>, elem_type = long int]': /opt/local/lib/R/library/Rcpp/include/Rcpp/internal/wrap.h:657: instantiated from 'SEXPREC* Rcpp::internal::wrap_dispatch_importer(const T&) [with T = RcppGSL::gslmatrix_importer<long int>, elem_type = long int]' /opt/local/lib/R/library/Rcpp/include/Rcpp/internal/wrap.h:706: instantiated from 'SEXPREC* Rcpp::internal::wrap_dispatch_unknown_importable(const T&, Rcpp::traits::true_type) [with T = RcppGSL::gslmatrix_importer<long int>]' /opt/local/lib/R/library/Rcpp/include/Rcpp/internal/wrap.h:716: instantiated from 'SEXPREC* Rcpp::internal::wrap_dispatch(const T&, Rcpp::traits::wrap_type_unknown_tag) [with T = RcppGSL::gslmatrix_importer<long int>]' /opt/local/lib/R/library/Rcpp/include/Rcpp/internal/wrap.h:831: instantiated from 'SEXPREC* Rcpp::wrap(const T&) [with T = RcppGSL::gslmatrix_importer<long int>]' ../inst/include/RcppGSL_matrix.h:81: instantiated from here /opt/local/lib/R/library/Rcpp/include/Rcpp/internal/wrap.h:627: error: 'const class RcppGSL::gslmatrix_importer<long int>' has no member named 'wrap' /opt/local/lib/R/library/Rcpp/include/Rcpp/internal/wrap.h: In function 'SEXPREC* Rcpp::internal::wrap_dispatch_importer__impl(const T&, Rcpp::traits::r_type_generic_tag) [with T = RcppGSL::gslmatrix_importer<long unsigned int>, elem_type = long unsigned int]': /opt/local/lib/R/library/Rcpp/include/Rcpp/internal/wrap.h:657: instantiated from 'SEXPREC* Rcpp::internal::wrap_dispatch_importer(const T&) [with T = RcppGSL::gslmatrix_importer<long unsigned int>, elem_type = long unsigned int]' /opt/local/lib/R/library/Rcpp/include/Rcpp/internal/wrap.h:706: instantiated from 'SEXPREC* Rcpp::internal::wrap_dispatch_unknown_importable(const T&, Rcpp::traits::true_type) [with T = RcppGSL::gslmatrix_importer<long unsigned int>]' /opt/local/lib/R/library/Rcpp/include/Rcpp/internal/wrap.h:716: instantiated from 'SEXPREC* Rcpp::internal::wrap_dispatch(const T&, Rcpp::traits::wrap_type_unknown_tag) [with T = RcppGSL::gslmatrix_importer<long unsigned int>]' /opt/local/lib/R/library/Rcpp/include/Rcpp/internal/wrap.h:831: instantiated from 'SEXPREC* Rcpp::wrap(const T&) [with T = RcppGSL::gslmatrix_importer<long unsigned int>]' ../inst/include/RcppGSL_matrix.h:87: instantiated from here /opt/local/lib/R/library/Rcpp/include/Rcpp/internal/wrap.h:627: error: 'const class RcppGSL::gslmatrix_importer<long unsigned int>' has no member named 'wrap' make: *** [fastLm.o] Error 1 ERROR: compilation failed for package ‘RcppGSL’ * removing ‘/opt/local/lib/R/library/RcppGSL’ The downloaded packages are in ‘/private/tmp/RtmpQCqDey/downloaded_packages’ Updating HTML index of packages in '.Library' Making packages.html ... done Warning message: In install.packages("RcppGSL") : installation of package ‘RcppGSL’ had non-zero exit status >
_______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel