Re: [Rpy] zero byte images

2008-06-19 Thread Gregory Warnes
The Cairo package is an optional library. You should be able to install it using: > install.packages(Cairo) And then get information on using it via: > library(Cairo) > ? Cairo -Greg On 6/16/08 4:13PM , "Patrick Jackson" <[EMAIL PROTECTED]> wrote: > I believe we are finally getting somewher

Re: [Rpy] zero byte images

2008-06-17 Thread Patrick Jackson
Thanks for all the help I finally got it working. I originally installed R from the RPM, but that didn't have cairo setup, and so I downloaded the source code, and manually installed it, and realized that pkg-config wasn't finding cairo, hince the reason why the rpm wasn't using it. Aparently ev

Re: [Rpy] zero byte images

2008-06-16 Thread Patrick Jackson
I believe we are finally getting somewhere By doing capabilities() in R I get: jpegpngtcltk X11 aqua http/ftp sockets libxml TRUE TRUE TRUE TRUEFALSE TRUE TRUE TRUE fifo cledit iconv NLS profmem cai

Re: [Rpy] zero byte images

2008-06-16 Thread Barry Rowlingson
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

Re: [Rpy] zero byte images

2008-06-16 Thread Patrick Jackson
the Django web framework. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Barry > Rowlingson > Sent: Monday, June 16, 2008 6:02 AM > To: RPy help, support and design discussion list > Subject: Re: [Rpy] zero byte images > Patrick Jackson

Re: [Rpy] zero byte images

2008-06-16 Thread Toby Hocking
plotting package for the Django web framework. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Barry Rowlingson Sent: Monday, June 16, 2008 6:02 AM To: RPy help, support and design discussion list Subject: Re: [Rpy] zero byte images Patrick Jackson wrote: > He

Re: [Rpy] zero byte images

2008-06-16 Thread Barry Rowlingson
Patrick Jackson wrote: > Hello all I need your help. I currently have a website that calls a python > script that uses rpy to create graphs. When I run the script from the > console it works great but when I run the script via the website it is only > creating a zero byte png file. > r.png(fil

[Rpy] zero byte images

2008-06-16 Thread Patrick Jackson
Hello all I need your help. I currently have a website that calls a python script that uses rpy to create graphs. When I run the script from the console it works great but when I run the script via the website it is only creating a zero byte png file. The webserver that we are running is Apache,