Discussion:
[R-es] RV: no puedo cargar el paquete "agricolae"
Juan Bautista
2018-02-17 11:43:47 UTC
Permalink
Cada vez que intento cargar el paquete "agricolae" me da el siguiente mensaje:

Error: package or namespace load failed for 'agricolae' in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called 'spData'

He intentado todo actualizar los paquetes, volverlos a instalar pero no hay forma.

Si sabeis la solución ??

Un saludo.

Juan Bautista Relloso Barrio
Javier Marcuzzi
2018-02-17 12:20:58 UTC
Permalink
Estimado Juan Bautista

Yo intenté instalarlo y cargarlo, en mi caso no sale ese error, copio y
pego todo lo que informa mi ambiente de trabajo por su puedes duplicarlo.

> R.version _
platform x86_64-w64-mingw32
arch x86_64
os mingw32
system x86_64, mingw32
status
major 3
minor 4.3
year 2017
month 11
day 30
svn rev 73796
language R
version.string R version 3.4.3 (2017-11-30)
nickname Kite-Eating Tree >
install.packages("agricolae")Installing package into
‘C:/Users/HP/Documents/R/win-library/3.4’
(as ‘lib’ is unspecified)also installing the dependencies ‘gtools’,
‘gdata’, ‘combinat’, ‘sp’, ‘spData’, ‘LearnBayes’, ‘deldir’,
‘gmodels’, ‘expm’, ‘klaR’, ‘spdep’, ‘AlgDesign’
trying URL 'https://mran.microsoft.com/snapshot/2018-01-01/bin/windows/contrib/3.4/gtools_3.5.0.zip'Content
type 'application/zip' length 144747 bytes (141 KB)downloaded 141 KB
trying URL 'https://mran.microsoft.com/snapshot/2018-01-01/bin/windows/contrib/3.4/gdata_2.18.0.zip'Content
type 'application/zip' length 1186810 bytes (1.1 MB)downloaded 1.1 MB
trying URL 'https://mran.microsoft.com/snapshot/2018-01-01/bin/windows/contrib/3.4/combinat_0.0-8.zip'Content
type 'application/zip' length 29663 bytes (28 KB)downloaded 28 KB
trying URL 'https://mran.microsoft.com/snapshot/2018-01-01/bin/windows/contrib/3.4/sp_1.2-5.zip'Content
type 'application/zip' length 1539525 bytes (1.5 MB)downloaded 1.5 MB
trying URL 'https://mran.microsoft.com/snapshot/2018-01-01/bin/windows/contrib/3.4/spData_0.2.6.8.zip'Content
type 'application/zip' length 3986137 bytes (3.8 MB)downloaded 3.8 MB
trying URL 'https://mran.microsoft.com/snapshot/2018-01-01/bin/windows/contrib/3.4/LearnBayes_2.15.zip'Content
type 'application/zip' length 1131042 bytes (1.1 MB)downloaded 1.1 MB
trying URL 'https://mran.microsoft.com/snapshot/2018-01-01/bin/windows/contrib/3.4/deldir_0.1-14.zip'Content
type 'application/zip' length 237317 bytes (231 KB)downloaded 231 KB
trying URL 'https://mran.microsoft.com/snapshot/2018-01-01/bin/windows/contrib/3.4/gmodels_2.16.2.zip'Content
type 'application/zip' length 74284 bytes (72 KB)downloaded 72 KB
trying URL 'https://mran.microsoft.com/snapshot/2018-01-01/bin/windows/contrib/3.4/expm_0.999-2.zip'Content
type 'application/zip' length 197117 bytes (192 KB)downloaded 192 KB
trying URL 'https://mran.microsoft.com/snapshot/2018-01-01/bin/windows/contrib/3.4/klaR_0.6-12.zip'Content
type 'application/zip' length 319424 bytes (311 KB)downloaded 311 KB
trying URL 'https://mran.microsoft.com/snapshot/2018-01-01/bin/windows/contrib/3.4/spdep_0.7-4.zip'Content
type 'application/zip' length 2367582 bytes (2.3 MB)downloaded 2.3 MB
trying URL 'https://mran.microsoft.com/snapshot/2018-01-01/bin/windows/contrib/3.4/AlgDesign_1.1-7.3.zip'Content
type 'application/zip' length 573218 bytes (559 KB)downloaded 559 KB
trying URL 'https://mran.microsoft.com/snapshot/2018-01-01/bin/windows/contrib/3.4/agricolae_1.2-8.zip'Content
type 'application/zip' length 941772 bytes (919 KB)downloaded 919 KB
package ‘gtools’ successfully unpacked and MD5 sums checked
package ‘gdata’ successfully unpacked and MD5 sums checked
package ‘combinat’ successfully unpacked and MD5 sums checked
package ‘sp’ successfully unpacked and MD5 sums checked
package ‘spData’ successfully unpacked and MD5 sums checked
package ‘LearnBayes’ successfully unpacked and MD5 sums checked
package ‘deldir’ successfully unpacked and MD5 sums checked
package ‘gmodels’ successfully unpacked and MD5 sums checked
package ‘expm’ successfully unpacked and MD5 sums checked
package ‘klaR’ successfully unpacked and MD5 sums checked
package ‘spdep’ successfully unpacked and MD5 sums checked
package ‘AlgDesign’ successfully unpacked and MD5 sums checked
package ‘agricolae’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\HP\AppData\Local\Temp\RtmpYFl6sL\downloaded_packages>
library(agricolae)



El 17 de febrero de 2018, 8:43, Juan Bautista <***@neiker.eus>
escribió:

>
> Cada vez que intento cargar el paquete "agricolae" me da el siguiente
> mensaje:
>
> Error: package or namespace load failed for 'agricolae' in
> loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
> there is no package called 'spData'
>
> He intentado todo actualizar los paquetes, volverlos a instalar pero no
> hay forma.
>
> Si sabeis la solución ??
>
> Un saludo.
>
> Juan Bautista Relloso Barrio
>
>
> _______________________________________________
> R-help-es mailing list
> R-help-***@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-help-es
>
>

[[alternative HTML version deleted]]
Javier Nieto
2018-02-17 19:15:58 UTC
Permalink
Hola, hace unos días tuve un problema similar con dplyr. La solución fue reinstalar los paquetes Rcpp, una dependencia(no recuerdo el nombre) de dplyr y el mismo dplyr. Podrías intentar reinstalar Rcpp, spData y agricolae previamente a su desinstalacion y reabriendo una nueva sesión de R.


Saludos

________________________________
De: R-help-es <r-help-es-***@r-project.org> en nombre de Javier Marcuzzi <***@gmail.com>
Enviado: sábado, 17 de febrero de 2018 06:20:58 a. m.
Para: Juan Bautista
CC: R Help Es (r-help-***@r-project.org)
Asunto: Re: [R-es] RV: no puedo cargar el paquete "agricolae"

Estimado Juan Bautista

Yo intenté instalarlo y cargarlo, en mi caso no sale ese error, copio y
pego todo lo que informa mi ambiente de trabajo por su puedes duplicarlo.

> R.version _
platform x86_64-w64-mingw32
arch x86_64
os mingw32
system x86_64, mingw32
status
major 3
minor 4.3
year 2017
month 11
day 30
svn rev 73796
language R
version.string R version 3.4.3 (2017-11-30)
nickname Kite-Eating Tree >
install.packages("agricolae")Installing package into
‘C:/Users/HP/Documents/R/win-library/3.4’
(as ‘lib’ is unspecified)also installing the dependencies ‘gtools’,
‘gdata’, ‘combinat’, ‘sp’, ‘spData’, ‘LearnBayes’, ‘deldir’,
‘gmodels’, ‘expm’, ‘klaR’, ‘spdep’, ‘AlgDesign’
trying URL 'https://mran.microsoft.com/snapshot/2018-01-01/bin/windows/contrib/3.4/gtools_3.5.0.zip'Content
type 'application/zip' length 144747 bytes (141 KB)downloaded 141 KB
trying URL 'https://mran.microsoft.com/snapshot/2018-01-01/bin/windows/contrib/3.4/gdata_2.18.0.zip'Content
type 'application/zip' length 1186810 bytes (1.1 MB)downloaded 1.1 MB
trying URL 'https://mran.microsoft.com/snapshot/2018-01-01/bin/windows/contrib/3.4/combinat_0.0-8.zip'Content
type 'application/zip' length 29663 bytes (28 KB)downloaded 28 KB
trying URL 'https://mran.microsoft.com/snapshot/2018-01-01/bin/windows/contrib/3.4/sp_1.2-5.zip'Content
type 'application/zip' length 1539525 bytes (1.5 MB)downloaded 1.5 MB
trying URL 'https://mran.microsoft.com/snapshot/2018-01-01/bin/windows/contrib/3.4/spData_0.2.6.8.zip'Content
type 'application/zip' length 3986137 bytes (3.8 MB)downloaded 3.8 MB
trying URL 'https://mran.microsoft.com/snapshot/2018-01-01/bin/windows/contrib/3.4/LearnBayes_2.15.zip'Content
type 'application/zip' length 1131042 bytes (1.1 MB)downloaded 1.1 MB
trying URL 'https://mran.microsoft.com/snapshot/2018-01-01/bin/windows/contrib/3.4/deldir_0.1-14.zip'Content
type 'application/zip' length 237317 bytes (231 KB)downloaded 231 KB
trying URL 'https://mran.microsoft.com/snapshot/2018-01-01/bin/windows/contrib/3.4/gmodels_2.16.2.zip'Content
type 'application/zip' length 74284 bytes (72 KB)downloaded 72 KB
trying URL 'https://mran.microsoft.com/snapshot/2018-01-01/bin/windows/contrib/3.4/expm_0.999-2.zip'Content
type 'application/zip' length 197117 bytes (192 KB)downloaded 192 KB
trying URL 'https://mran.microsoft.com/snapshot/2018-01-01/bin/windows/contrib/3.4/klaR_0.6-12.zip'Content
type 'application/zip' length 319424 bytes (311 KB)downloaded 311 KB
trying URL 'https://mran.microsoft.com/snapshot/2018-01-01/bin/windows/contrib/3.4/spdep_0.7-4.zip'Content
type 'application/zip' length 2367582 bytes (2.3 MB)downloaded 2.3 MB
trying URL 'https://mran.microsoft.com/snapshot/2018-01-01/bin/windows/contrib/3.4/AlgDesign_1.1-7.3.zip'Content
type 'application/zip' length 573218 bytes (559 KB)downloaded 559 KB
trying URL 'https://mran.microsoft.com/snapshot/2018-01-01/bin/windows/contrib/3.4/agricolae_1.2-8.zip'Content
type 'application/zip' length 941772 bytes (919 KB)downloaded 919 KB
package ‘gtools’ successfully unpacked and MD5 sums checked
package ‘gdata’ successfully unpacked and MD5 sums checked
package ‘combinat’ successfully unpacked and MD5 sums checked
package ‘sp’ successfully unpacked and MD5 sums checked
package ‘spData’ successfully unpacked and MD5 sums checked
package ‘LearnBayes’ successfully unpacked and MD5 sums checked
package ‘deldir’ successfully unpacked and MD5 sums checked
package ‘gmodels’ successfully unpacked and MD5 sums checked
package ‘expm’ successfully unpacked and MD5 sums checked
package ‘klaR’ successfully unpacked and MD5 sums checked
package ‘spdep’ successfully unpacked and MD5 sums checked
package ‘AlgDesign’ successfully unpacked and MD5 sums checked
package ‘agricolae’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\HP\AppData\Local\Temp\RtmpYFl6sL\downloaded_packages>
library(agricolae)



El 17 de febrero de 2018, 8:43, Juan Bautista <***@neiker.eus>
escribió:

>
> Cada vez que intento cargar el paquete "agricolae" me da el siguiente
> mensaje:
>
> Error: package or namespace load failed for 'agricolae' in
> loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
> there is no package called 'spData'
>
> He intentado todo actualizar los paquetes, volverlos a instalar pero no
> hay forma.
>
> Si sabeis la solución ??
>
> Un saludo.
>
> Juan Bautista Relloso Barrio
>
>
> _______________________________________________
> R-help-es mailing list
> R-help-***@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-help-es
>
>

[[alternative HTML version deleted]]

_______________________________________________
R-help-es mailing list
R-help-***@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-help-es

[[alternative HTML version deleted]]
m***@sergas.es
2018-02-19 14:37:42 UTC
Permalink
Hola Juan Bautista.


Según la información que aparece en el error, te falta por instalar el paquete spData (y debes hacerlo antes del agricolae).


Parece que es una dependencia que no se ha instalado adecuadamente.


Un Saludo,
--
Miguel Ángel Rodríguez Muíños
Dirección Xeral de Saúde Pública
Consellería de Sanidade
Xunta de Galicia
http://dxsp.sergas.es






________________________________
De: R-help-es <r-help-es-***@r-project.org> en nombre de Juan Bautista <***@neiker.eus>
Enviado: sábado, 17 de febrero de 2018 12:43
Para: 'R Help Es (r-help-***@r-project.org)'
Asunto: [R-es] RV: no puedo cargar el paquete "agricolae"


Cada vez que intento cargar el paquete "agricolae" me da el siguiente mensaje:

Error: package or namespace load failed for 'agricolae' in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called 'spData'

He intentado todo actualizar los paquetes, volverlos a instalar pero no hay forma.

Si sabeis la solución ??

Un saludo.

Juan Bautista Relloso Barrio


________________________________

Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada.

Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada.

See more languages: http://www.sergas.es/aviso-confidencialidad
Loading...