Hi,
I am using R Studio to run regression, and have to install a R package from CRAN - "alr3".
I ran into a long list of errors, and I am guessing that it might be a compiler issue?
Error:
The error issues goes way before this but I went to the start of the console and it is already cropped...besides, maybe the end has more value to identify the problem?
I did a search online
but has no plans to go to the Cloud.But is it really a Cloud problem or a compiler issue or others?
Please help. TIA
I am using R Studio to run regression, and have to install a R package from CRAN - "alr3".
I ran into a long list of errors, and I am guessing that it might be a compiler issue?
Code:
install.packages("alr3")
library(alr3)
Error:
Code:
../inst/include/Eigen/src/Core/PlainObjectBase.h:714:32: required from ‘Derived& Eigen::PlainObjectBase<Derived>::_set(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Product<Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 0>, Eigen::Transpose<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>, Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 0>; Derived = Eigen::Matrix<double, -1, 1>]’
../inst/include/Eigen/src/Core/Matrix.h:225:24: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>& Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::operator=(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Product<Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 0>, Eigen::Transpose<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>, Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 0>; _Scalar = double; int _Rows = -1; int _Cols = 1; int _Options = 0; int _MaxRows = -1; int _MaxCols = 1]’
fastLm.cpp:179:55: required from here
../inst/include/Eigen/src/Core/CoreEvaluators.h:960:8: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type {aka __vector(2) double}’ [-Wignored-attributes]
gcc -I"/usr/lib64/R/include" -DNDEBUG -I"/home/by79/R/x86_64-suse-linux-gnu-library/3.6/Rcpp/include" -I/usr/local/include -fpic -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -c init.c -o init.o
g++ -std=gnu++11 -shared -L/usr/lib64/R/lib -L/usr/local/lib64 -o RcppEigen.so RcppEigen.o RcppExports.o fastLm.o init.o -L/usr/lib64/R/lib -lRlapack -L/usr/lib64/R/lib -lRblas -lgfortran -lm -lquadmath -L/usr/lib64/R/lib -lR
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: cannot find -lgfortran
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: cannot find -lquadmath
collect2: error: ld returned 1 exit status
make: *** [/usr/lib64/R/share/make/shlib.mk:6: RcppEigen.so] Error 1
ERROR: compilation failed for package ‘RcppEigen’
* removing ‘/home/by79/R/x86_64-suse-linux-gnu-library/3.6/RcppEigen’
Warning in install.packages :
installation of package ‘RcppEigen’ had non-zero exit status
ERROR: dependency ‘SparseM’ is not available for package ‘quantreg’
* removing ‘/home/by79/R/x86_64-suse-linux-gnu-library/3.6/quantreg’
Warning in install.packages :
installation of package ‘quantreg’ had non-zero exit status
ERROR: dependency ‘curl’ is not available for package ‘rio’
* removing ‘/home/by79/R/x86_64-suse-linux-gnu-library/3.6/rio’
Warning in install.packages :
installation of package ‘rio’ had non-zero exit status
ERROR: dependencies ‘minqa’, ‘nloptr’, ‘statmod’, ‘RcppEigen’ are not available for package ‘lme4’
* removing ‘/home/by79/R/x86_64-suse-linux-gnu-library/3.6/lme4’
Warning in install.packages :
installation of package ‘lme4’ had non-zero exit status
ERROR: dependency ‘lme4’ is not available for package ‘pbkrtest’
* removing ‘/home/by79/R/x86_64-suse-linux-gnu-library/3.6/pbkrtest’
Warning in install.packages :
installation of package ‘pbkrtest’ had non-zero exit status
ERROR: dependencies ‘pbkrtest’, ‘quantreg’, ‘rio’, ‘lme4’ are not available for package ‘car’
* removing ‘/home/by79/R/x86_64-suse-linux-gnu-library/3.6/car’
Warning in install.packages :
installation of package ‘car’ had non-zero exit status
ERROR: dependency ‘car’ is not available for package ‘alr3’
* removing ‘/home/by79/R/x86_64-suse-linux-gnu-library/3.6/alr3’
Warning in install.packages :
installation of package ‘alr3’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpjFMhol/downloaded_packages’
I did a search online
HTML Code:
https://community.rstudio.com/t/unable-to-install-any-packages-in-r-rstudio-on-opensuse-42-2-with-everything-up-to-date/41822/10
Please help. TIA