Hello,

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");

if in this R file, I've got the lines:
  pdf(file="/path/to/file/file.pdf")
  commands
  dev.off()

the pdf file is perfectly created

but if I change the lines to:

  png(file="/path/to/file/file.png");
  commands
  dev.off()

(or with the jpeg() function)

the files are not created. any help?

Thanks

	[[alternative HTML version deleted]]

