Patrick Jackson wrote: > So it does look like it is the issue with Xwindows, but since I have R > version 2.7, why am I getting this error?
Hmmm maybe I was a spot too hasty! The png() function can use either the Xlib or the Cairo back-end to make its file. If it is using Xlib then you need an Xserver, if it's using Cairo then you don't. My next guess is that your R doesn't have cairo capabilities. The 'capabilities()' function will tell you if it has cairo. png() should use it by default, so my assumption is you don't. I can get your error on a non-Xlib connection by doing png(file="foo.png",type="Xlib"). You'll have to sort out a cairo-enabled version of R elsewhere - I'm pretty certain this isn't an Rpy problem (unless R running under Rpy isn't finding a cairo lib for some reason). So, see if interactive R has cairo capabilities. If it does, and png() is using it, then it might be an Rpy problem... Barry ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list