[R] Generating a PostScript graphics under Windows

Sundar Dorai-Raj sundar.dorai-raj at pdf.com
Tue Mar 14 13:44:43 CET 2006



Sigbert Klinke wrote:
> Hi,
> 
> I'am trying to generate a PS Graphic under Windows with a fixed location via
> 
> postscript(file="C:\\test.ps")
> 
> But I always become the error:
> 
> unable to start device PostScript
> can not open 'postscript' file argument 'c:\test.ps'
> 
> There must be a very simple thing, that I make wrong.
> 
> Thanks in advance
> 
>    Sigbert Klinke
> 


Did you close the device using dev.off()?

postscript(file="C:\\test.ps")
plot(1:10)
dev.off()


HTH,

--sundar




More information about the R-help mailing list