Hola a todos, No he podido encontrar la solución para el siguiente error al instalar el paquete dplR:> install.packages("dplR")Installing package into ‘/home/milagros/R/x86_64-pc-linux-gnu-library/3.1’ (as ‘lib’ is unspecified) also installing the dependency ‘gmp’ probando la URL ' http://r.mirror.mendoza-conicet.gob.ar/src/contrib/gmp_0.5-11.tar.gz' Content type 'application/x-gzip' length 142653 bytes (139 Kb) URL abierta =================================================downloaded 139 Kb probando la URL ' http://r.mirror.mendoza-conicet.gob.ar/src/contrib/dplR_1.5.9.tar.gz' Content type 'application/x-gzip' length 328199 bytes (320 Kb) URL abierta =================================================downloaded 320 Kb * installing *source* package ‘gmp’ ... ** package ‘gmp’ successfully unpacked and MD5 sums checked creating cache ./config.cache checking for __gmpz_ui_sub in -lgmp... no configure: error: GNU MP not found, or not 4.1.4 or up, see http://gmplib.org ERROR: configuration failed for package ‘gmp’ * removing ‘/home/milagros/R/x86_64-pc-linux-gnu-library/3.1/gmp’ Warning in install.packages : installation of package ‘gmp’ had non-zero exit status ERROR: dependency ‘gmp’ is not available for package ‘dplR’ * removing ‘/home/milagros/R/x86_64-pc-linux-gnu-library/3.1/dplR’ Warning in install.packages : installation of package ‘dplR’ had non-zero exit status The downloaded source packages are in ‘/tmp/Rtmp0u9ejX/downloaded_packages’ Muchas gracias! Milagros [[alternative HTML version deleted]]
Hola, ¿qué tal? Posiblemente te falte instalar libgmp-dev. Estás en Linux. Si usas Ubuntu (si no, cambia lo que tengas que cambiar), prueba a hacer sudo apt-get install libgmp-dev y luego trata de instalar de nuevo el paquete en R. Un saludo, Carlos J. Gil Bellosta http://www.datanalytics.com 2014-04-23 17:35 GMT+02:00 Milagros Rodriguez <milagrosrodriguezc en gmail.com>:> Hola a todos, > > No he podido encontrar la solución para el siguiente error al instalar el > paquete dplR: > > > >> install.packages("dplR") > Installing package into ?/home/milagros/R/x86_64-pc-linux-gnu-library/3.1? > (as ?lib? is unspecified) > also installing the dependency ?gmp? > > probando la URL ' > http://r.mirror.mendoza-conicet.gob.ar/src/contrib/gmp_0.5-11.tar.gz' > Content type 'application/x-gzip' length 142653 bytes (139 Kb) > URL abierta > =================================================> downloaded 139 Kb > > probando la URL ' > http://r.mirror.mendoza-conicet.gob.ar/src/contrib/dplR_1.5.9.tar.gz' > Content type 'application/x-gzip' length 328199 bytes (320 Kb) > URL abierta > =================================================> downloaded 320 Kb > > * installing *source* package ?gmp? ... > ** package ?gmp? successfully unpacked and MD5 sums checked > creating cache ./config.cache > checking for __gmpz_ui_sub in -lgmp... no > configure: error: GNU MP not found, or not 4.1.4 or up, see > http://gmplib.org > ERROR: configuration failed for package ?gmp? > * removing ?/home/milagros/R/x86_64-pc-linux-gnu-library/3.1/gmp? > Warning in install.packages : > installation of package ?gmp? had non-zero exit status > ERROR: dependency ?gmp? is not available for package ?dplR? > * removing ?/home/milagros/R/x86_64-pc-linux-gnu-library/3.1/dplR? > Warning in install.packages : > installation of package ?dplR? had non-zero exit status > > The downloaded source packages are in > ?/tmp/Rtmp0u9ejX/downloaded_packages? > > > > Muchas gracias! > Milagros > > [[alternative HTML version deleted]] > > > _______________________________________________ > R-help-es mailing list > R-help-es en r-project.org > https://stat.ethz.ch/mailman/listinfo/r-help-es >
Hola Milagros. A menudo en linux hay que instalar las librerías dev (de development) suele ser algo como el nombre del paquete con el prefijo lib . En este caso, y en xubuntu 14.04 se puede instalar "dplR" si antes instalas mediante consola libgmp3-dev. Prueba con sudo apt-get install libgmp3-dev y después vuelve a R y ejecuta de nuevo install.packages("dplR") Ya nos cuentas. Saludos El 23/04/14 17:35, Milagros Rodriguez escribió:> Hola a todos, > > No he podido encontrar la solución para el siguiente error al instalar el > paquete dplR: > > > >> install.packages("dplR") > Installing package into âEUR~/home/milagros/R/x86_64-pc-linux-gnu-library/3.1âEUR^(TM) > (as âEUR~libâEUR^(TM) is unspecified) > also installing the dependency âEUR~gmpâEUR^(TM) > > probando la URL ' > http://r.mirror.mendoza-conicet.gob.ar/src/contrib/gmp_0.5-11.tar.gz' > Content type 'application/x-gzip' length 142653 bytes (139 Kb) > URL abierta > =================================================> downloaded 139 Kb > > probando la URL ' > http://r.mirror.mendoza-conicet.gob.ar/src/contrib/dplR_1.5.9.tar.gz' > Content type 'application/x-gzip' length 328199 bytes (320 Kb) > URL abierta > =================================================> downloaded 320 Kb > > * installing *source* package âEUR~gmpâEUR^(TM) ... > ** package âEUR~gmpâEUR^(TM) successfully unpacked and MD5 sums checked > creating cache ./config.cache > checking for __gmpz_ui_sub in -lgmp... no > configure: error: GNU MP not found, or not 4.1.4 or up, see > http://gmplib.org > ERROR: configuration failed for package âEUR~gmpâEUR^(TM) > * removing âEUR~/home/milagros/R/x86_64-pc-linux-gnu-library/3.1/gmpâEUR^(TM) > Warning in install.packages : > installation of package âEUR~gmpâEUR^(TM) had non-zero exit status > ERROR: dependency âEUR~gmpâEUR^(TM) is not available for package âEUR~dplRâEUR^(TM) > * removing âEUR~/home/milagros/R/x86_64-pc-linux-gnu-library/3.1/dplRâEUR^(TM) > Warning in install.packages : > installation of package âEUR~dplRâEUR^(TM) had non-zero exit status > > The downloaded source packages are in > âEUR~/tmp/Rtmp0u9ejX/downloaded_packagesâEUR^(TM) > > > > Muchas gracias! > Milagros > > [[alternative HTML version deleted]] > > > > _______________________________________________ > R-help-es mailing list > R-help-es@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-help-es[[alternative HTML version deleted]]
Sí, uso ubunto y funcionó instalando libgmp-dev. Muchisimas gracias Carlos y José Luis! 2014-04-23 12:46 GMT-03:00 Carlos J. Gil Bellosta <cgb@datanalytics.com>:> Hola, ¿qué tal? > > Posiblemente te falte instalar libgmp-dev. > > Estás en Linux. Si usas Ubuntu (si no, cambia lo que tengas que > cambiar), prueba a hacer > > sudo apt-get install libgmp-dev > > y luego trata de instalar de nuevo el paquete en R. > > Un saludo, > > Carlos J. Gil Bellosta > http://www.datanalytics.com > > > > 2014-04-23 17:35 GMT+02:00 Milagros Rodriguez < > milagrosrodriguezc@gmail.com>: > > Hola a todos, > > > > No he podido encontrar la solución para el siguiente error al instalar el > > paquete dplR: > > > > > > > >> install.packages("dplR") > > Installing package into > ‘/home/milagros/R/x86_64-pc-linux-gnu-library/3.1’ > > (as ‘lib’ is unspecified) > > also installing the dependency ‘gmp’ > > > > probando la URL ' > > http://r.mirror.mendoza-conicet.gob.ar/src/contrib/gmp_0.5-11.tar.gz' > > Content type 'application/x-gzip' length 142653 bytes (139 Kb) > > URL abierta > > =================================================> > downloaded 139 Kb > > > > probando la URL ' > > http://r.mirror.mendoza-conicet.gob.ar/src/contrib/dplR_1.5.9.tar.gz' > > Content type 'application/x-gzip' length 328199 bytes (320 Kb) > > URL abierta > > =================================================> > downloaded 320 Kb > > > > * installing *source* package ‘gmp’ ... > > ** package ‘gmp’ successfully unpacked and MD5 sums checked > > creating cache ./config.cache > > checking for __gmpz_ui_sub in -lgmp... no > > configure: error: GNU MP not found, or not 4.1.4 or up, see > > http://gmplib.org > > ERROR: configuration failed for package ‘gmp’ > > * removing ‘/home/milagros/R/x86_64-pc-linux-gnu-library/3.1/gmp’ > > Warning in install.packages : > > installation of package ‘gmp’ had non-zero exit status > > ERROR: dependency ‘gmp’ is not available for package ‘dplR’ > > * removing ‘/home/milagros/R/x86_64-pc-linux-gnu-library/3.1/dplR’ > > Warning in install.packages : > > installation of package ‘dplR’ had non-zero exit status > > > > The downloaded source packages are in > > ‘/tmp/Rtmp0u9ejX/downloaded_packages’ > > > > > > > > Muchas gracias! > > Milagros > > > > [[alternative HTML version deleted]] > > > > > > _______________________________________________ > > R-help-es mailing list > > R-help-es@r-project.org > > https://stat.ethz.ch/mailman/listinfo/r-help-es > > >[[alternative HTML version deleted]]