Angel Roman <aroman6 <at> gmail.com> 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 > dev.off() > > (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. sink("cap.txt") capabilities() sink() Dieter ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html