Re: [R] png() or jpeg() in a php script

From: Dieter Menne <>
Date: Wed 21 Jun 2006 - 23:06:40 EST

Angel Roman <aroman6 <at>> writes:

> I've got a problem with a PHP script, in which I call the system function
> (to call another processes). The call is :
> system("R --slave --vanilla < path/to/source/source.R");

> but if I change the lines to:
> png(file="/path/to/file/file.png");
> commands
> (or with the jpeg() function)
> the files are not created. any help?

Try the following in your script to find out if you can create jpeg on your operation system.


Dieter mailing list PLEASE do read the posting guide! Received on Wed Jun 21 23:10:52 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 22 Jun 2006 - 00:12:02 EST.

Mailing list information is available at Please read the posting guide before posting to the list.