r - Can't install rgl in order to install TSclust -
not sure happening can't install rgl or without flag:
> install.packages("rgl", dependencies=true) installing dependencies ‘mime’, ‘stringi’, ‘magrittr’, ‘bitops’, ‘evaluate’, ‘digest’, ‘formatr’, ‘highr’, ‘markdown’, ‘stringr’, ‘yaml’, ‘htmltools’, ‘catools’, ‘knitr’, ‘rmarkdown’ there binary versions available source versions later: binary source needs_compilation knitr 1.10.5 1.11 false rmarkdown 0.7 0.8 false rgl 0.95.1201 0.95.1337 true want install sources package needs compilation? y/n: y trying url 'https://cran.rstudio.com/bin/macosx/mavericks/contrib/3.2/mime_0.4.tgz' content type 'application/x-gzip' length 24755 bytes (24 kb) ================================================== downloaded 24 kb trying url 'https://cran.rstudio.com/bin/macosx/mavericks/contrib/3.2/stringi_0.5-5.tgz' content type 'application/x-gzip' length 12685069 bytes (12.1 mb) ================================================== downloaded 12.1 mb trying url 'https://cran.rstudio.com/bin/macosx/mavericks/contrib/3.2/magrittr_1.5.tgz' content type 'application/x-gzip' length 145658 bytes (142 kb) ================================================== downloaded 142 kb trying url 'https://cran.rstudio.com/bin/macosx/mavericks/contrib/3.2/bitops_1.0-6.tgz' content type 'application/x-gzip' length 23364 bytes (22 kb) ================================================== downloaded 22 kb trying url 'https://cran.rstudio.com/bin/macosx/mavericks/contrib/3.2/evaluate_0.8.tgz' content type 'application/x-gzip' length 38270 bytes (37 kb) ================================================== downloaded 37 kb trying url 'https://cran.rstudio.com/bin/macosx/mavericks/contrib/3.2/digest_0.6.8.tgz' content type 'application/x-gzip' length 127790 bytes (124 kb) ================================================== downloaded 124 kb trying url 'https://cran.rstudio.com/bin/macosx/mavericks/contrib/3.2/formatr_1.2.1.tgz' content type 'application/x-gzip' length 45595 bytes (44 kb) ================================================== downloaded 44 kb trying url 'https://cran.rstudio.com/bin/macosx/mavericks/contrib/3.2/highr_0.5.1.tgz' content type 'application/x-gzip' length 28245 bytes (27 kb) ================================================== downloaded 27 kb trying url 'https://cran.rstudio.com/bin/macosx/mavericks/contrib/3.2/markdown_0.7.7.tgz' content type 'application/x-gzip' length 168867 bytes (164 kb) ================================================== downloaded 164 kb trying url 'https://cran.rstudio.com/bin/macosx/mavericks/contrib/3.2/stringr_1.0.0.tgz' content type 'application/x-gzip' length 77633 bytes (75 kb) ================================================== downloaded 75 kb trying url 'https://cran.rstudio.com/bin/macosx/mavericks/contrib/3.2/yaml_2.1.13.tgz' content type 'application/x-gzip' length 168133 bytes (164 kb) ================================================== downloaded 164 kb trying url 'https://cran.rstudio.com/bin/macosx/mavericks/contrib/3.2/htmltools_0.2.6.tgz' content type 'application/x-gzip' length 85318 bytes (83 kb) ================================================== downloaded 83 kb trying url 'https://cran.rstudio.com/bin/macosx/mavericks/contrib/3.2/catools_1.17.1.tgz' content type 'application/x-gzip' length 182473 bytes (178 kb) ================================================== downloaded 178 kb downloaded binary packages in /var/folders/bk/2b2d879912bgnl5s768s7crh0000gn/t//rtmp258lne/downloaded_packages installing source packages ‘knitr’, ‘rmarkdown’, ‘rgl’ trying url 'https://cran.rstudio.com/src/contrib/knitr_1.11.tar.gz' content type 'application/x-gzip' length 688792 bytes (672 kb) ================================================== downloaded 672 kb trying url 'https://cran.rstudio.com/src/contrib/rmarkdown_0.8.tar.gz' content type 'application/x-gzip' length 1184516 bytes (1.1 mb) ================================================== downloaded 1.1 mb trying url 'https://cran.rstudio.com/src/contrib/rgl_0.95.1337.tar.gz' content type 'application/x-gzip' length 2189241 bytes (2.1 mb) ================================================== downloaded 2.1 mb * installing *source* package ‘knitr’ ... ** package ‘knitr’ unpacked , md5 sums checked ** r ** demo ** inst ** preparing package lazy loading ** *** installing indices ** building package indices ** installing vignettes ** testing if installed package can loaded * done (knitr) * installing *source* package ‘rgl’ ... ** package ‘rgl’ unpacked , md5 sums checked checking gcc... clang checking whether c compiler works... yes checking c compiler default output file name... a.out checking suffix of executables... checking whether cross compiling... no checking suffix of object files... o checking whether using gnu c compiler... yes checking whether clang accepts -g... yes checking clang option accept iso c89... none needed checking how run c preprocessor... clang -e checking gcc... (cached) clang checking whether using gnu c compiler... (cached) yes checking whether clang accepts -g... (cached) yes checking clang option accept iso c89... (cached) none needed checking whether __attribute__((visibility())) supported... no checking whether clang accepts -fvisibility... yes checking whether accepts -fvisibility... no checking libpng-config... yes configure: using libpng-config configure: using libpng dynamic linkage checking x... no configure: error: x11 not found required, configure aborted. error: configuration failed package ‘rgl’ * removing ‘/library/frameworks/r.framework/versions/3.2/resources/library/rgl’ warning in install.packages : installation of package ‘rgl’ had non-zero exit status * installing *source* package ‘rmarkdown’ ... ** package ‘rmarkdown’ unpacked , md5 sums checked ** r ** inst ** preparing package lazy loading ** *** installing indices ** building package indices ** testing if installed package can loaded * done (rmarkdown) downloaded source packages in ‘/private/var/folders/bk/2b2d879912bgnl5s768s7crh0000gn/t/rtmp258lne/downloaded_packages’ >
and error when try install tsclust:
> install.packages("tsclust") installing dependencies ‘rgl’, ‘longitudinaldata’ there binary versions available source versions later: binary source needs_compilation rgl 0.95.1201 0.95.1337 true longitudinaldata 2.3 2.4 false want install sources package needs compilation? y/n: y trying url 'https://cran.rstudio.com/bin/macosx/mavericks/contrib/3.2/tsclust_1.2.3.tgz' content type 'application/x-gzip' length 353039 bytes (344 kb) ================================================== downloaded 344 kb downloaded binary packages in /var/folders/bk/2b2d879912bgnl5s768s7crh0000gn/t//rtmp258lne/downloaded_packages installing source packages ‘rgl’, ‘longitudinaldata’ trying url 'https://cran.rstudio.com/src/contrib/rgl_0.95.1337.tar.gz' content type 'application/x-gzip' length 2189241 bytes (2.1 mb) ================================================== downloaded 2.1 mb trying url 'https://cran.rstudio.com/src/contrib/longitudinaldata_2.4.tar.gz' content type 'application/x-gzip' length 80334 bytes (78 kb) ================================================== downloaded 78 kb * installing *source* package ‘rgl’ ... ** package ‘rgl’ unpacked , md5 sums checked checking gcc... clang checking whether c compiler works... yes checking c compiler default output file name... a.out checking suffix of executables... checking whether cross compiling... no checking suffix of object files... o checking whether using gnu c compiler... yes checking whether clang accepts -g... yes checking clang option accept iso c89... none needed checking how run c preprocessor... clang -e checking gcc... (cached) clang checking whether using gnu c compiler... (cached) yes checking whether clang accepts -g... (cached) yes checking clang option accept iso c89... (cached) none needed checking whether __attribute__((visibility())) supported... no checking whether clang accepts -fvisibility... yes checking whether accepts -fvisibility... no checking libpng-config... yes configure: using libpng-config configure: using libpng dynamic linkage checking x... no configure: error: x11 not found required, configure aborted. error: configuration failed package ‘rgl’ * removing ‘/library/frameworks/r.framework/versions/3.2/resources/library/rgl’ warning in install.packages : installation of package ‘rgl’ had non-zero exit status error: dependency ‘rgl’ not available package ‘longitudinaldata’ * removing ‘/library/frameworks/r.framework/versions/3.2/resources/library/longitudinaldata’ warning in install.packages : installation of package ‘longitudinaldata’ had non-zero exit status downloaded source packages in ‘/private/var/folders/bk/2b2d879912bgnl5s768s7crh0000gn/t/rtmp258lne/downloaded_packages’ >
here's r version:
monas-macbook-pro:clustering mona$ r r version 3.2.2 (2015-08-14) -- "fire safety" copyright (c) 2015 r foundation statistical computing platform: x86_64-apple-darwin13.4.0 (64-bit)
and here's rstudio version:
rstudio version 0.99.473 – © 2009-2015 rstudio, inc. mozilla/5.0 (macintosh; intel mac os x 10_10_5) applewebkit/600.8.9 (khtml, gecko)
the first , second errors both suggest missing installed copy of xquartz macos version of x11: https://xquartz.macosforge.org/landing/
(they not suggest missing xcode.)
Comments
Post a Comment