Lanike71 Δημοσ. 4 Ιουνίου 2015 Δημοσ. 4 Ιουνίου 2015 Συγνώμη αν δεν ποστάρω στο σωστό σημείο, αλλά δε βρήκα κάποιο κατάλληλο. (Ας μετακινηθεί από κάποιο mod αν είναι λάθος). Είμαι σε linux mint 17.1 και χρησιμοποιώ το RStudio.Προσπαθώ να εγκαταστήσω το πακέτο ggplot2 αλλά παίρνω σφάλμα για "non-zero exit status".Αν και έψαξα στο νετ, δε μπόρεσα να βρω κατάλληλη λύση (παλιά έκδοση R, φάκελος πακέτων μη εγγράψιμος κλπ). > install.packages("ggplot2")Installing package into ‘/home/user/R/i686-pc-linux-gnu-library/3.0’(as ‘lib’ is unspecified)Warning in install.packages :dependency ‘plyr’ is not availablealso installing the dependencies ‘stringi’, ‘stringr’, ‘reshape2’, ‘scales’trying URL 'http://cran.rstudio.com/src/contrib/stringi_0.4-1.tar.gz'Content type 'application/x-gzip' length 3461563 bytes (3.3 Mb)opened URL==================================================downloaded 3.3 Mbtrying URL 'http://cran.rstudio.com/src/contrib/stringr_1.0.0.tar.gz'Content type 'application/x-gzip' length 34880 bytes (34 Kb)opened URL==================================================downloaded 34 Kbtrying URL 'http://cran.rstudio.com/src/contrib/reshape2_1.4.1.tar.gz'Content type 'application/x-gzip' length 34693 bytes (33 Kb)opened URL==================================================downloaded 33 Kbtrying URL 'http://cran.rstudio.com/src/contrib/scales_0.2.4.tar.gz'Content type 'application/x-gzip' length 40093 bytes (39 Kb)opened URL==================================================downloaded 39 Kbtrying URL 'http://cran.rstudio.com/src/contrib/ggplot2_1.0.1.tar.gz'Content type 'application/x-gzip' length 2351203 bytes (2.2 Mb)opened URL================================================== ownloaded 2.2 Mb * installing *source* package ‘stringi’ ...** package ‘stringi’ successfully unpacked and MD5 sums checkedchecking for R_HOME... /usr/lib/Rchecking for R... /usr/lib/R/bin/Rchecking for gcc... gcc -std=gnu99checking whether the C compiler works... yeschecking for C compiler default output file name... a.outchecking for suffix of executables...checking whether we are cross compiling... nochecking for suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether gcc -std=gnu99 accepts -g... yeschecking for gcc -std=gnu99 option to accept ISO C89... none neededchecking whether we are using the GNU C++ compiler... nochecking whether g++ accepts -g... nochecking for cat... /bin/catchecking for pkg-config... /usr/bin/pkg-configchecking with pkg-config for ICU4C installed... no*** The pkg-config script did not detect ICU4C-devel libraries installed*** We will build ICU4C from sourceschecking how to run the C++ preprocessor... /lib/cppconfigure: error: in `/tmp/Rtmp2tVjsK/R.INSTALL1fdf72c7699d/stringi':configure: error: C++ preprocessor "/lib/cpp" fails sanity checkSee `config.log' for more detailsERROR: configuration failed for package ‘stringi’* removing ‘/home/user/R/i686-pc-linux-gnu-library/3.0/stringi’Warning in install.packages :installation of package ‘stringi’ had non-zero exit statusERROR: dependency ‘plyr’ is not available for package ‘scales’* removing ‘/home/user/R/i686-pc-linux-gnu-library/3.0/scales’Warning in install.packages : installation of package ‘scales’ had non-zero exit statusERROR: dependency ‘stringi’ is not available for package ‘stringr’* removing ‘/home/user/R/i686-pc-linux-gnu-library/3.0/stringr’Warning in install.packages :installation of package ‘stringr’ had non-zero exit statusERROR: dependencies ‘plyr’, ‘stringr’ are not available for package ‘reshape2’* removing ‘/home/user/R/i686-pc-linux-gnu-library/3.0/reshape2’Warning in install.packages :installation of package ‘reshape2’ had non-zero exit statusERROR: dependencies ‘plyr’, ‘reshape2’, ‘scales’ are not available for package ‘ggplot2’* removing ‘/home/user/R/i686-pc-linux-gnu-library/3.0/ggplot2’Warning in install.packages :installation of package ‘ggplot2’ had non-zero exit statusThe downloaded source packages are in ‘/tmp/RtmpE24tq6/downloaded_packages’
Προτεινόμενες αναρτήσεις
Δημιουργήστε ένα λογαριασμό ή συνδεθείτε για να σχολιάσετε
Πρέπει να είστε μέλος για να αφήσετε σχόλιο
Δημιουργία λογαριασμού
Εγγραφείτε με νέο λογαριασμό στην κοινότητα μας. Είναι πανεύκολο!
Δημιουργία νέου λογαριασμούΣύνδεση
Έχετε ήδη λογαριασμό; Συνδεθείτε εδώ.
Συνδεθείτε τώρα