Προς το περιεχόμενο

Προτεινόμενες αναρτήσεις

Δημοσ.

Συγνώμη αν δεν ποστάρω στο σωστό σημείο, αλλά δε βρήκα κάποιο κατάλληλο.

(Ας μετακινηθεί από κάποιο 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 available
also 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 Mb

trying 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 Kb

trying 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 Kb

trying 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 Kb

trying 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 checked
checking for R_HOME... /usr/lib/R
checking for R... /usr/lib/R/bin/R
checking for gcc... gcc -std=gnu99
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -std=gnu99 accepts -g... yes
checking for gcc -std=gnu99 option to accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking for cat... /bin/cat
checking for pkg-config... /usr/bin/pkg-config
checking with pkg-config for ICU4C installed... no
*** The pkg-config script did not detect ICU4C-devel libraries installed
*** We will build ICU4C from sources
checking how to run the C++ preprocessor... /lib/cpp
configure: error: in `/tmp/Rtmp2tVjsK/R.INSTALL1fdf72c7699d/stringi':
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details

ERROR: 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 status
ERROR: 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 status
ERROR: 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 status
ERROR: 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 status
ERROR: 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 status

The downloaded source packages are in
    ‘/tmp/RtmpE24tq6/downloaded_packages’

 

Δημιουργήστε ένα λογαριασμό ή συνδεθείτε για να σχολιάσετε

Πρέπει να είστε μέλος για να αφήσετε σχόλιο

Δημιουργία λογαριασμού

Εγγραφείτε με νέο λογαριασμό στην κοινότητα μας. Είναι πανεύκολο!

Δημιουργία νέου λογαριασμού

Σύνδεση

Έχετε ήδη λογαριασμό; Συνδεθείτε εδώ.

Συνδεθείτε τώρα
  • Δημιουργία νέου...