From: Edward P. <edw...@ya...> - 2016-06-19 12:51:50
|
Dear Sir/Madam I am using RKWard on Ubuntu Mate having used it a lot on Windows. I don't seem to be able to install ggplot2 though. I love RKWard, so I would hate not to be able to use it! I am using R version 3.2.2 (2015-08-14) -- "Fire Safety" Copyright (C) 2015 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu (64-bit) This is what I get. Sorry it is so long, but I am not sure what you need and I am not a computer buff! Many thanks Edward > install.packages("ggplot2", dependencies=TRUE) Installing package into ‘/home/edward/.rkward/library’ (as ‘lib’ is unspecified) also installing the dependencies ‘curl’, ‘openssl’, ‘stringr’, ‘httr’, ‘evaluate’, ‘gdtools’, ‘reshape2’, ‘covr’, ‘Hmisc’, ‘knitr’, ‘rmarkdown’, ‘svglite’ trying URL 'https://mirrors.ebi.ac.uk/CRAN/src/contrib/curl_0.9.7.tar.gz' Content type 'application/x-gzip' length 263926 bytes (257 KB) ================================================== downloaded 257 KB trying URL 'https://mirrors.ebi.ac.uk/CRAN/src/contrib/openssl_0.9.4.tar.gz' Content type 'application/x-gzip' length 1165388 bytes (1.1 MB) ================================================== downloaded 1.1 MB trying URL 'https://mirrors.ebi.ac.uk/CRAN/src/contrib/stringr_1.0.0.tar.gz' Content type 'application/x-gzip' length 34880 bytes (34 KB) ================================================== downloaded 34 KB trying URL 'https://mirrors.ebi.ac.uk/CRAN/src/contrib/httr_1.2.0.tar.gz' Content type 'application/x-gzip' length 133324 bytes (130 KB) ================================================== downloaded 130 KB trying URL 'https://mirrors.ebi.ac.uk/CRAN/src/contrib/evaluate_0.9.tar.gz' Content type 'application/x-gzip' length 19165 bytes (18 KB) ================================================== downloaded 18 KB trying URL 'https://mirrors.ebi.ac.uk/CRAN/src/contrib/gdtools_0.0.7.tar.gz' Content type 'application/x-gzip' length 12494 bytes (12 KB) ================================================== downloaded 12 KB trying URL 'https://mirrors.ebi.ac.uk/CRAN/src/contrib/reshape2_1.4.1.tar.gz' Content type 'application/x-gzip' length 34693 bytes (33 KB) ================================================== downloaded 33 KB trying URL 'https://mirrors.ebi.ac.uk/CRAN/src/contrib/covr_2.0.1.tar.gz' Content type 'application/x-gzip' length 56202 bytes (54 KB) ================================================== downloaded 54 KB trying URL 'https://mirrors.ebi.ac.uk/CRAN/src/contrib/Hmisc_3.17-4.tar.gz' Content type 'application/x-gzip' length 647519 bytes (632 KB) ================================================== downloaded 632 KB trying URL 'https://mirrors.ebi.ac.uk/CRAN/src/contrib/knitr_1.13.tar.gz' Content type 'application/x-gzip' length 886610 bytes (865 KB) ================================================== downloaded 865 KB trying URL 'https://mirrors.ebi.ac.uk/CRAN/src/contrib/rmarkdown_0.9.6.tar.gz' Content type 'application/x-gzip' length 2013956 bytes (1.9 MB) ================================================== downloaded 1.9 MB trying URL 'https://mirrors.ebi.ac.uk/CRAN/src/contrib/svglite_1.1.0.tar.gz' Content type 'application/x-gzip' length 16176 bytes (15 KB) ================================================== downloaded 15 KB trying URL 'https://mirrors.ebi.ac.uk/CRAN/src/contrib/ggplot2_2.1.0.tar.gz' Content type 'application/x-gzip' length 1571788 bytes (1.5 MB) ================================================== downloaded 1.5 MB * installing *source* package ‘curl’ ... ** package ‘curl’ successfully unpacked and MD5 sums checked Package libcurl was not found in the pkg-config search path. Perhaps you should add the directory containing `libcurl.pc' to the PKG_CONFIG_PATH environment variable No package 'libcurl' found Package libcurl was not found in the pkg-config search path. Perhaps you should add the directory containing `libcurl.pc' to the PKG_CONFIG_PATH environment variable No package 'libcurl' found Using PKG_CFLAGS= Using PKG_LIBS=-lcurl ------------------------- ANTICONF ERROR --------------------------- Configuration failed because libcurl was not found. Try installing: * deb: libcurl4-openssl-dev (Debian, Ubuntu, etc) * rpm: libcurl-devel (Fedora, CentOS, RHEL) * csw: libcurl_dev (Solaris) If libcurl is already installed, check that 'pkg-config' is in your PATH and PKG_CONFIG_PATH contains a libcurl.pc file. If pkg-config is unavailable you can set INCLUDE_DIR and LIB_DIR manually via: R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...' -------------------------------------------------------------------- ERROR: configuration failed for package ‘curl’ * removing ‘/home/edward/.rkward/library/curl’ * installing *source* package ‘openssl’ ... ** package ‘openssl’ successfully unpacked and MD5 sums checked Using PKG_CFLAGS= Using PKG_LIBS=-lssl -lcrypto ------------------------- ANTICONF ERROR --------------------------- Configuration failed because openssl was not found. Try installing: * deb: libssl-dev (Debian, Ubuntu, etc) * rpm: openssl-devel (Fedora, CentOS, RHEL) * csw: libssl_dev (Solaris) * brew: openssl (Mac OSX) If openssl is already installed, check that 'pkg-config' is in your PATH and PKG_CONFIG_PATH contains a openssl.pc file. If pkg-config is unavailable you can set INCLUDE_DIR and LIB_DIR manually via: R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...' -------------------------------------------------------------------- ERROR: configuration failed for package ‘openssl’ * removing ‘/home/edward/.rkward/library/openssl’ * installing *source* package ‘stringr’ ... ** package ‘stringr’ successfully unpacked and MD5 sums checked ** R ** inst ** preparing package for lazy loading Error in library.dynam(lib, package, package.lib) : shared object ‘stringi.so’ not found ERROR: lazy loading failed for package ‘stringr’ * removing ‘/home/edward/.rkward/library/stringr’ * installing *source* package ‘gdtools’ ... ** package ‘gdtools’ successfully unpacked and MD5 sums checked Package cairo was not found in the pkg-config search path. Perhaps you should add the directory containing `cairo.pc' to the PKG_CONFIG_PATH environment variable No package 'cairo' found Using PKG_CFLAGS= Using PKG_LIBS=-lcairo ------------------------- ANTICONF ERROR --------------------------- Configuration failed because cairo was not found. Try installing: * deb: libcairo-dev (Debian, Ubuntu) * rpm: cairo-devel (Fedora, CentOS, RHEL) * csw: libcairo_dev (Solaris) * brew: cairo (OSX) If cairo is already installed, check that 'pkg-config' is in your PATH and PKG_CONFIG_PATH contains a cairo.pc file. If pkg-config is unavailable you can set INCLUDE_DIR and LIB_DIR manually via: R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...' -------------------------------------------------------------------- ERROR: configuration failed for package ‘gdtools’ * removing ‘/home/edward/.rkward/library/gdtools’ ERROR: dependencies ‘curl’, ‘openssl’ are not available for package ‘httr’ * removing ‘/home/edward/.rkward/library/httr’ ERROR: dependency ‘stringr’ is not available for package ‘evaluate’ * removing ‘/home/edward/.rkward/library/evaluate’ ERROR: dependency ‘stringr’ is not available for package ‘reshape2’ * removing ‘/home/edward/.rkward/library/reshape2’ ERROR: dependency ‘gdtools’ is not available for package ‘svglite’ * removing ‘/home/edward/.rkward/library/svglite’ ERROR: dependency ‘httr’ is not available for package ‘covr’ * removing ‘/home/edward/.rkward/library/covr’ ERROR: dependencies ‘evaluate’, ‘stringr’ are not available for package ‘knitr’ * removing ‘/home/edward/.rkward/library/knitr’ ERROR: dependency ‘reshape2’ is not available for package ‘ggplot2’ * removing ‘/home/edward/.rkward/library/ggplot2’ ERROR: dependency ‘ggplot2’ is not available for package ‘Hmisc’ * removing ‘/home/edward/.rkward/library/Hmisc’ ERROR: dependency ‘knitr’ is not available for package ‘rmarkdown’ * removing ‘/home/edward/.rkward/library/rmarkdown’ The downloaded source packages are in ‘/tmp/RtmpHhMFl9/downloaded_packages’ There were 13 warnings (use warnings() to see them) > warnings() Warning messages: 1: In install.packages("ggplot2", dependencies = TRUE) : installation of package ‘curl’ had non-zero exit status 2: In install.packages("ggplot2", dependencies = TRUE) : installation of package ‘openssl’ had non-zero exit status 3: In install.packages("ggplot2", dependencies = TRUE) : installation of package ‘stringr’ had non-zero exit status 4: In install.packages("ggplot2", dependencies = TRUE) : installation of package ‘gdtools’ had non-zero exit status 5: In install.packages("ggplot2", dependencies = TRUE) : installation of package ‘httr’ had non-zero exit status 6: In install.packages("ggplot2", dependencies = TRUE) : installation of package ‘evaluate’ had non-zero exit status 7: In install.packages("ggplot2", dependencies = TRUE) : installation of package ‘reshape2’ had non-zero exit status 8: In install.packages("ggplot2", dependencies = TRUE) : installation of package ‘svglite’ had non-zero exit status 9: In install.packages("ggplot2", dependencies = TRUE) : installation of package ‘covr’ had non-zero exit status 10: In install.packages("ggplot2", dependencies = TRUE) : installation of package ‘knitr’ had non-zero exit status 11: In install.packages("ggplot2", dependencies = TRUE) : installation of package ‘ggplot2’ had non-zero exit status 12: In install.packages("ggplot2", dependencies = TRUE) : installation of package ‘Hmisc’ had non-zero exit status 13: In install.packages("ggplot2", dependencies = TRUE) : installation of package ‘rmarkdown’ had non-zero exit status |