[Car-commits] error installing the car package on MacoS - please help
Ram Srinivasan
sri_ram at yahoo.com
Sat Nov 24 18:15:35 CET 2018
I am running macOS Sierra 10.12.6 and unable to install the 'car' package Warning in install.packages : installation of package ‘car’ had non-zero exit status
ThanksRam
The full transcript of the session follows
R version 3.5.1 (2018-07-02) -- "Feather Spray"Copyright (C) 2018 The R Foundation for Statistical ComputingPlatform: x86_64-apple-darwin14.5.0 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.You are welcome to redistribute it under certain conditions.Type 'license()' or 'licence()' for distribution details.
Natural language support but running in an English locale
R is a collaborative project with many contributors.Type 'contributors()' for more information and'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or'help.start()' for an HTML browser interface to help.Type 'q()' to quit R.
> library()> install.packages("car")also installing the dependencies ‘SparseM’, ‘minqa’, ‘mgcv’, ‘pbkrtest’, ‘quantreg’, ‘lme4’
trying URL 'https://cran.rstudio.com/src/contrib/SparseM_1.77.tar.gz'Content type 'application/x-gzip' length 756317 bytes (738 KB)==================================================downloaded 738 KB
trying URL 'https://cran.rstudio.com/src/contrib/minqa_1.2.4.tar.gz'Content type 'application/x-gzip' length 53548 bytes (52 KB)==================================================downloaded 52 KB
trying URL 'https://cran.rstudio.com/src/contrib/mgcv_1.8-26.tar.gz'Content type 'application/x-gzip' length 897979 bytes (876 KB)==================================================downloaded 876 KB
trying URL 'https://cran.rstudio.com/src/contrib/pbkrtest_0.4-7.tar.gz'Content type 'application/x-gzip' length 156406 bytes (152 KB)==================================================downloaded 152 KB
trying URL 'https://cran.rstudio.com/src/contrib/quantreg_5.36.tar.gz'Content type 'application/x-gzip' length 1640340 bytes (1.6 MB)==================================================downloaded 1.6 MB
trying URL 'https://cran.rstudio.com/src/contrib/lme4_1.1-19.tar.gz'Content type 'application/x-gzip' length 4120276 bytes (3.9 MB)==================================================downloaded 3.9 MB
trying URL 'https://cran.rstudio.com/src/contrib/car_3.0-2.tar.gz'Content type 'application/x-gzip' length 447952 bytes (437 KB)==================================================downloaded 437 KB
* installing *source* package ‘SparseM’ ...** package ‘SparseM’ successfully unpacked and MD5 sums checked** libsgfortran -fPIC -I/anaconda3/include -L/anaconda3/lib -c bckslv.f -o bckslv.omake: gfortran: No such file or directorymake: *** [bckslv.o] Error 1ERROR: compilation failed for package ‘SparseM’* removing ‘/anaconda3/lib/R/library/SparseM’Warning in install.packages : installation of package ‘SparseM’ had non-zero exit status* installing *source* package ‘minqa’ ...** package ‘minqa’ successfully unpacked and MD5 sums checked** libsgfortran -fPIC -I/anaconda3/include -L/anaconda3/lib -c altmov.f -o altmov.omake: gfortran: No such file or directorymake: *** [altmov.o] Error 1ERROR: compilation failed for package ‘minqa’* removing ‘/anaconda3/lib/R/library/minqa’Warning in install.packages : installation of package ‘minqa’ had non-zero exit status* installing *source* package ‘mgcv’ ...** package ‘mgcv’ successfully unpacked and MD5 sums checked** libsclang -I"/anaconda3/lib/R/include" -DNDEBUG -I/anaconda3/include -fPIC -I/anaconda3/include -c coxph.c -o coxph.oclang -I"/anaconda3/lib/R/include" -DNDEBUG -I/anaconda3/include -fPIC -I/anaconda3/include -c discrete.c -o discrete.oclang -I"/anaconda3/lib/R/include" -DNDEBUG -I/anaconda3/include -fPIC -I/anaconda3/include -c gdi.c -o gdi.oclang -I"/anaconda3/lib/R/include" -DNDEBUG -I/anaconda3/include -fPIC -I/anaconda3/include -c init.c -o init.oclang -I"/anaconda3/lib/R/include" -DNDEBUG -I/anaconda3/include -fPIC -I/anaconda3/include -c magic.c -o magic.oclang -I"/anaconda3/lib/R/include" -DNDEBUG -I/anaconda3/include -fPIC -I/anaconda3/include -c mat.c -o mat.oclang -I"/anaconda3/lib/R/include" -DNDEBUG -I/anaconda3/include -fPIC -I/anaconda3/include -c matrix.c -o matrix.oclang -I"/anaconda3/lib/R/include" -DNDEBUG -I/anaconda3/include -fPIC -I/anaconda3/include -c mgcv.c -o mgcv.oclang -I"/anaconda3/lib/R/include" -DNDEBUG -I/anaconda3/include -fPIC -I/anaconda3/include -c misc.c -o misc.oclang -I"/anaconda3/lib/R/include" -DNDEBUG -I/anaconda3/include -fPIC -I/anaconda3/include -c mvn.c -o mvn.oclang -I"/anaconda3/lib/R/include" -DNDEBUG -I/anaconda3/include -fPIC -I/anaconda3/include -c qp.c -o qp.oclang -I"/anaconda3/lib/R/include" -DNDEBUG -I/anaconda3/include -fPIC -I/anaconda3/include -c soap.c -o soap.oclang -I"/anaconda3/lib/R/include" -DNDEBUG -I/anaconda3/include -fPIC -I/anaconda3/include -c sparse-smooth.c -o sparse-smooth.oclang -I"/anaconda3/lib/R/include" -DNDEBUG -I/anaconda3/include -fPIC -I/anaconda3/include -c tprs.c -o tprs.oclang -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/anaconda3/lib/R/lib -headerpad_max_install_names -mmacosx-version-min=10.9 -lc++ -Wl,-rpath,/anaconda3/lib -L/anaconda3/lib -L/anaconda3/lib -lgfortran -L/anaconda3 -o mgcv.so coxph.o discrete.o gdi.o init.o magic.o mat.o matrix.o mgcv.o misc.o mvn.o qp.o soap.o sparse-smooth.o tprs.o -framework Accelerate -L/Users/travis/miniconda3/conda-bld/r-base_1538210616116/_build_env/lib/gcc/x86_64-apple-darwin11.4.2/4.8.5 -L/Users/travis/miniconda3/conda-bld/r-base_1538210616116/_build_env/lib/gcc -L/Users/travis/miniconda3/conda-bld/r-base_1538210616116/_build_env/lib -lc++ -lgfortran -lquadmath -lm -L/anaconda3/lib/R/lib -lR -lintl -lc++ -liconv -lc -Wl,-framework -Wl,CoreFoundationld: warning: directory not found for option '-L/Users/travis/miniconda3/conda-bld/r-base_1538210616116/_build_env/lib/gcc/x86_64-apple-darwin11.4.2/4.8.5'ld: warning: directory not found for option '-L/Users/travis/miniconda3/conda-bld/r-base_1538210616116/_build_env/lib/gcc'ld: warning: directory not found for option '-L/Users/travis/miniconda3/conda-bld/r-base_1538210616116/_build_env/lib'ld: warning: ld: warning: object file (coxph.o) was built for newer OSX version (10.12) than being linked (10.9)object file (discrete.o) was built for newer OSX version (10.12) than being linked (10.9)
ld: warning: object file (gdi.o) was built for newer OSX version (10.12) than being linked (10.9)ld: warning: object file (mat.o) was built for newer OSX version (10.12) than being linked (10.9)ld: warning: object file (init.o) was built for newer OSX version (10.12) than being linked (10.9)ld: warning: object file (magic.o) was built for newer OSX version (10.12) than being linked (10.9)ld: warning: object file (matrix.o) was built for newer OSX version (10.12) than being linked (10.9)ld: warning: object file (mvn.o) was built for newer OSX version (10.12) than being linked (10.9)ld: warning: object file (mgcv.o) was built for newer OSX version (10.12) than being linked (10.9)ld: warning: object file (misc.o) was built for newer OSX version (10.12) than being linked (10.9)ld: warning: object file (qp.o) was built for newer OSX version (10.12) than being linked (10.9)ld: warning: object file (soap.o) was built for newer OSX version (10.12) than being linked (10.9)ld: warning: ld: warning: object file (sparse-smooth.o) was built for newer OSX version (10.12) than being linked (10.9)object file (tprs.o) was built for newer OSX version (10.12) than being linked (10.9)
installing to /anaconda3/lib/R/library/mgcv/libs** R** data** inst** byte-compile and prepare package for lazy loadingError: package or namespace load failed for ‘nlme’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/anaconda3/lib/R/library/nlme/libs/nlme.so': dlopen(/anaconda3/lib/R/library/nlme/libs/nlme.so, 6): Symbol not found: _libintl_dgettext Referenced from: /anaconda3/lib/R/library/nlme/libs/nlme.so Expected in: /anaconda3/lib/R/lib/libR.dylib in /anaconda3/lib/R/library/nlme/libs/nlme.soError : package ‘nlme’ could not be loadedERROR: lazy loading failed for package ‘mgcv’* removing ‘/anaconda3/lib/R/library/mgcv’Warning in install.packages : installation of package ‘mgcv’ had non-zero exit statusERROR: dependency ‘SparseM’ is not available for package ‘quantreg’* removing ‘/anaconda3/lib/R/library/quantreg’Warning in install.packages : installation of package ‘quantreg’ had non-zero exit statusERROR: dependency ‘minqa’ is not available for package ‘lme4’* removing ‘/anaconda3/lib/R/library/lme4’Warning in install.packages : installation of package ‘lme4’ had non-zero exit statusERROR: dependency ‘lme4’ is not available for package ‘pbkrtest’* removing ‘/anaconda3/lib/R/library/pbkrtest’Warning in install.packages : installation of package ‘pbkrtest’ had non-zero exit statusERROR: dependencies ‘mgcv’, ‘pbkrtest’, ‘quantreg’, ‘lme4’ are not available for package ‘car’* removing ‘/anaconda3/lib/R/library/car’Warning in install.packages : installation of package ‘car’ had non-zero exit status
The downloaded source packages are in ‘/private/var/folders/r9/r2jscqms20nczq8175jn2j2h0000gn/T/RtmpWHGvHe/downloaded_packages’Updating HTML index of packages in '.Library'Making 'packages.html' ... done
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/car-commits/attachments/20181124/8d8315b1/attachment-0001.html>
More information about the Car-commits
mailing list