[R] installing RGtk2

steve fisk at bowdoin.edu
Thu Aug 2 23:12:23 CEST 2007


I am using ubuntu. When I tried install.packages("RGtk2") it downloaded 
and seemed to compile successfully:

** building package indices ...
* DONE (RGtk2)

The downloaded packages are in
         /tmp/Rtmp57id87/downloaded_packages

However, when I tried library(RGtk2) I found

Error in dyn.load(x, as.logical(local), as.logical(now)) :
	unable to load shared library 
'/usr/local/lib/R/site-library/RGtk2/libs/RGtk2.so':
   /usr/local/lib/R/site-library/RGtk2/libs/RGtk2.so: undefined symbol: 
cairo_path_data_type_get_type
Error in fun(...) : Failed to load RGtk2 dynamic library: Error in 
dyn.load(x, as.logical(local), as.logical(now)) :
	unable to load shared library 
'/usr/local/lib/R/site-library/RGtk2/libs/RGtk2.so':
   /usr/local/lib/R/site-library/RGtk2/libs/RGtk2.so: undefined symbol: 
cairo_path_data_type_get_type

Error : .onLoad failed in 'loadNamespace' for 'RGtk2'
Error: package/namespace load failed for 'RGtk2'

Any suggestions?

Steve



More information about the R-help mailing list