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
Sigbert Klinke <sigbert at wiwi.hu-berlin.de> writes:> 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.Do you have write permissions there? (Possibly a silly question, but must be asked...) -- O__ ---- Peter Dalgaard ?ster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
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
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.Probably the file already exists and is write protected for some reason we cannot know. Uwe Ligges> Thanks in advance > > Sigbert Klinke > > ______________________________________________ > R-help at 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