[R-es] Instalación de paquete RQDA

Víctor Granda García victorgrandagarcia en gmail.com
Mar Nov 11 18:12:48 CET 2014


Hola Javier.

Mirando la página oficial del paquete (http://rqda.r-forge.r-project.org/)
me he encontrado esto:

It works on Windows, Linux/FreeBSD <http://www.freebsd.org/> and (probably)
the Mac OSX platforms (PS: RQDA does not work on OS X Mavericks).

Ya se que no estás con OSX Maverick, si no Yosemite, pero probablemente
tampoco funcione ahí, lo siento. De todas formas a ver si me equivoco y
alguien te puede dar una solución.

De todas formas, si necesitas si o si utilizar ese paquete, siempre puedes
crear una máquina virtual (con Parallels o con VirtualBox) con una
distribución de linux (Ubuntu, Fedora o similar) y ahí te irá como la seda
(yo utilizo archlinux, pero he probado en fedora y en ambos instala
perfectamente)

Siento no ser de más ayuda.

Un saludo y suerte.

Víctor Granda García
Ph.D. Student
Dpto. BOS, Universidad de Oviedo

2014-11-11 18:03 GMT+01:00 Javier Cantón <prosumidor.social en gmail.com>:

> 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]]
>
> _______________________________________________
> R-help-es mailing list
> R-help-es en r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-help-es
>

	[[alternative HTML version deleted]]



Más información sobre la lista de distribución R-help-es