[R] Saving jpg of plot with grid.arrows

Deepayan Sarkar deepayan at stat.wisc.edu
Fri Jan 16 19:56:14 CET 2004


On Friday 16 January 2004 10:02, Laura Quinn wrote:
> I am having problems exporting a plot to a jpg file. I am first setting up
> a basic plot, and then opening up a viewport and overlaying grid.arrows
> onto the plot - I don't seem able to save this plot with the overlaid
> arrows to a file, can anyone offer any advice?
>
> I am using R-1.8.0 on Debian Linux.

Could you give us some specific code that doesn't work ? The simplest case

> jpeg()
> grid.arrows()
> dev.off()

seems to work for me.

Deepayan




More information about the R-help mailing list