I have a small shell script (bash) which runs a R script which produces a plot as output. Everything works fine but immedietly after the plot is rendered R quits. Is there a
One solution would be to write the plot out to pdf instead:
pdf(file="myplot.pdf") ##your plot command here plot( . . . ) dev.off()