Dear R-list, I'm struggling installing RGtk2 on my Mac. Has anybody succeeded in doing so? I've got Gtk2.8 (finally) and I have R2.0.1 I'm using ibook G4 and Mac 10.3.9 and here is the error I got from installing > R CMD INSTALL ~/Desktop/install/RGtk2_2.8.0-0.tar.gz * Installing *source* package 'RGtk2' ... checking for pkg-config... /sw/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for GTK... yes checking for LIBGLADE... yes checking for GTKMOZEMBED... configure: WARNING: firefox-gtkmozembed not found configure: creating ./config.status config.status: creating src/Makevars ** libs gcc -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/include -I/usr/local/include -g -D_R_=1 -DUSE_R=1 -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libglade-2.0 -I/usr/local/include/gtk-2.0 -I/usr/local/include/libxml2 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/Library/Frameworks/R.framework/Resources/include -DHAVE_LIBGLADE -fno-common -g -O2 -c RGtkDataFrame.c -o RGtkDataFrame.o ...... gcc -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/include -I/usr/local/include -g -D_R_=1 -DUSE_R=1 -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libglade-2.0 -I/usr/local/include/gtk-2.0 -I/usr/local/include/libxml2 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/Library/Frameworks/R.framework/Resources/include -DHAVE_LIBGLADE -fno-common -g -O2 -c conversion.c -o conversion.o conversion.c: In function `asCRaw': conversion.c:49: error: subscripted value is neither array nor pointer conversion.c: In function `asRRaw': conversion.c:87: warning: assignment makes pointer from integer without a cast conversion.c:88: error: subscripted value is neither array nor pointer make: *** [conversion.o] Error 1 ERROR: compilation failed for package 'RGtk2' ** Removing '/Library/Frameworks/R.framework/Versions/2.0.1/Resources/library/ RGtk2' ** Restoring previous '/Library/Frameworks/R.framework/Versions/2.0.1/Resources/library/ RGtk2' Any suggestions would be helpful. Thanks ___________________________________________________ Zhesi He S-Block Biology, YCCSA, University of York York YO10 5YW, U.K. Phone: +44-(0)1904-328554 Email: zh107 at york.ac.uk
RGtk2 install in Mac
2 messages · Zhesi He, Hadley Wickham
I'm struggling installing RGtk2 on my Mac. Has anybody succeeded in doing so?
This isn't probably the right place to talk about RGtk2, given that the web page suggests you should email the creator (Michael Lawrence) if you have any problems. I suspect your problem is the rather old version of R. Update to the latest version and try again. The other possible problem is that it looks like you are using fink, while we have only been testing using darwinports. Hadley