On Tue, Nov 16, 2010 at 10:59 AM, Fencl, Martin <Martin.Fencl@eawag.ch>wrote:

> Helllo,
> I am having trouble with running the library Playwith in the R-2.12.0.
> running under 32bit Windows XP. After calling the library the error message
> "The procedure entry point gdk_cairo_reset_clip could not be located in the
> dynamic library libgdk-win32-2.0-0.dll." occurs and the R asks for instaling
> the GTK+ package. However the instalation of GTK+ thorugh the R fails. I
> have installed GTK+ by installing GIMP 2.0 version 2.6.10 and set the path
> of environment variables. But it still does not work. It seems to be that
> the problem is in gtk2 (which I also installed).
> Thank you for any hints!
>
>
The GIMP binary of GTK+ has been known not to work well with R, and probably
simply is not new enough in this case. What do you mean the GTK+ installer
fails? Some details on that would be helpful.

Thanks,
Michael



>
> > library(playwith)
> Loading required package: lattice
> Loading required package: cairoDevice
> Loading required package: gWidgetsRGtk2
> Loading required package: gWidgets
> Error in inDL(x, as.logical(local), as.logical(now), ...) :
>  unable to load shared object
> 'C:/PROGRA~1/R/R-212~1.0/library/RGtk2/libs/i386/RGtk2.dll':
>  LoadLibrary failure:  The specified procedure could not be found.
>
>
> Failed to load RGtk2 dynamic library, attempting to install it.
> trying URL '
> http://downloads.sourceforge.net/gtk-win/gtk2-runtime-2.22.0-2010-10-21-ash.exe?download
> '
> Content type 'application/x-msdos-program' length 7820679 bytes (7.5 Mb)
> opened URL
> downloaded 7.5 Mb
>
> Learn more about GTK+ at http://www.gtk.org
> 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
> Error : .onAttach failed in attachNamespace() for 'gWidgetsRGtk2', details:
>  call: .Call(name, ..., PACKAGE = PACKAGE)
>  error: C symbol name "S_gtk_icon_factory_new" not in DLL for package
> "RGtk2"
> Error: package 'gWidgetsRGtk2' could not be loaded
> >
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

	[[alternative HTML version deleted]]

