[R-es] Instalación de paquete RQDA
Javier Cantón
prosumidor.social en gmail.com
Mar Nov 11 18:03:06 CET 2014
Hola a tod en s:
A ver si me podéis echar un cable. Llevo dos meses intentando instalar el
paquete RQDA en RStudio (R version 3.1.0), y en un sistema operativo MAC OS
X Yosemite (la última actualización, aunque ya había probado con la
anterior versión cuando empecé), pero me pide otros paquetes dependientes
que tampoco puedo instalar.
El primero y más fundamental es el GTK+ 2.8, seguido del paquete RGtk2 y el
gWidgetsRGtk2.
He instalado el GTK+, incluido el paquete para desarrolladores XCode 11,
pero no lo reconoce el RStudio (quizás no lo tenga bien localizado en el
"environment path", no sé).
Os pego los códigos de error que me salen por si alguien consigue localizar
el fallo.
Gracias a tod en s. Saludos,
Javi Cantón.
*Error de RQDA:*
ERROR: dependency ‘gWidgetsRGtk2’ is not available for package ‘RQDA’
* removing
‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/RQDA’
*Error de gWidgetsRGtk2:*
* installing *source* package ‘gWidgetsRGtk2’ ...
** package ‘gWidgetsRGtk2’ successfully unpacked and MD5 sums checked
** R
** inst
** preparing package for lazy loading
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object
'/Library/Frameworks/R.framework/Versions/3.1/Resources/library/RGtk2/libs/RGtk2.so':
dlopen(/Library/Frameworks/R.framework/Versions/3.1/Resources/library/RGtk2/libs/RGtk2.so,
6): Symbol not found: _g_type_check_instance_is_fundamentally_a
Referenced from:
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/RGtk2/libs/RGtk2.so
Expected in: flat namespace
in
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/RGtk2/libs/RGtk2.so
Aviso: Failed to load RGtk2 dynamic library, attempting to install it.
Please install GTK+ from http://r.research.att.com/libs/GTK_2.24.17-X11.pkg
If the package still does not load, please ensure that GTK+ is installed
and that it is on your PATH environment variable
IN ANY CASE, RESTART R BEFORE TRYING TO LOAD THE PACKAGE AGAIN
Aviso: package ‘gWidgets’ was built under R version 3.1.1
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object
'/Library/Frameworks/R.framework/Versions/3.1/Resources/library/RGtk2/libs/RGtk2.so':
dlopen(/Library/Frameworks/R.framework/Versions/3.1/Resources/library/RGtk2/libs/RGtk2.so,
6): Symbol not found: _g_type_check_instance_is_fundamentally_a
Referenced from:
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/RGtk2/libs/RGtk2.so
Expected in: flat namespace
in
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/RGtk2/libs/RGtk2.so
Aviso: Failed to load RGtk2 dynamic library, attempting to install it.
Please install GTK+ from http://r.research.att.com/libs/GTK_2.24.17-X11.pkg
If the package still does not load, please ensure that GTK+ is installed
and that it is on your PATH environment variable
IN ANY CASE, RESTART R BEFORE TRYING TO LOAD THE PACKAGE AGAIN
Aviso: package ‘gWidgets’ was built under R version 3.1.1
Error : .onAttach failed in attachNamespace() for 'gWidgetsRGtk2', details:
call: .Call(name, ..., PACKAGE = PACKAGE)
error: "S_gtk_icon_factory_new" not available for .Call() for package
"RGtk2"
Error: loading failed
Ejecución interrumpida
ERROR: loading failed
* removing
‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/gWidgetsRGtk2’
*Error de RGtk2:*
* installing *source* package ‘RGtk2’ ...
** package ‘RGtk2’ successfully unpacked and MD5 sums checked
checking for pkg-config... no
checking for INTROSPECTION... no
checking for GTK... no
configure: error: GTK version 2.8.0 required
ERROR: configuration failed for package ‘RGtk2’
* removing
‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/RGtk2’
* restoring previous
‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/RGtk2’
* <http://about.me/javiercanton>*
[[alternative HTML version deleted]]
Más información sobre la lista de distribución R-help-es