[R] RGtk2 install in Mac

From: Zhesi He <zh107_at_york.ac.uk>
Date: Fri 24 Feb 2006 - 23:31:49 EST


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

......

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@york.ac.uk



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Feb 24 23:41:13 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:42:45 EST