Hi, I am using TOMCAT 6.0.14 on Solaris 10 i86. I wrote a perl script which is running a cgi on tomcat, from there i am taking input value's and using the following way to create a graph using R and accessing that graph to attach it on webpage: .... .... my $to_run = "/usr/local/bin/R --vanilla --slave --args $selected_host $graph_start $graph_end < ..\/..\/..\/page\/R\/" . $graph_name . ".r "; system("$to_run"); .... .... My R file looks like this... ..... ..... files <- "/u/Docs/tomcat/webapps/page/Web/img/tmp.png" bitmap(file = files, type = "png256", height = 8, width = 12, res = 72) plot(strptime(dat[,1],"%Y-%m-%d %H:%M"), dat[,2], type = "l", ylim = c(min(dat[,2]),max(dat[,2])), ylab = "CPU Load", xlab = "Time", col = "red", main = title) dev.off() .... .... The problem is when I am running this Perl Script locally in unix, "tmp.png" is getting created, however, when I run this perl script on server, tmp.pngfile is not getting created. My server is running in the same UNIX session where I am trying running the perl script. I have done several hit and trial attempt to make it happen, however, not able to find the error. Kindly suggest. Thanks in advance. Regards Sar [[alternative HTML version deleted]]