Re: [R] postscript problems (landscape orientation)

2009-05-22 Thread Marc Schwartz
On May 21, 2009, at 6:31 PM, Ted Harding wrote: On 21-May-09 23:02:28, David Scott wrote: Well most people deal with that problem by not using Acrobat to read .pdf files. On linux you can use evince or xpdf. On windows just use gsview32. Those readers don't lock the .pdf. I am with Peter and

[R] postscript problems (landscape orientation)

2009-05-21 Thread Zeljko Vrba
I use the following function to export some figures to .eps: p.eps - function(p, fname, title = NULL, width, height) { postscript(file=fname, onefile=FALSE, paper=special, width=width, height=height, horizontal=FALSE) print(p + opts(title = title)) dev.off() } Whenever I have

Re: [R] postscript problems (landscape orientation)

2009-05-21 Thread Prof Brian Ripley
On Thu, 21 May 2009, Zeljko Vrba wrote: I use the following function to export some figures to .eps: p.eps - function(p, fname, title = NULL, width, height) { postscript(file=fname, onefile=FALSE, paper=special, width=width, height=height, horizontal=FALSE) print(p + opts(title =

Re: [R] postscript problems (landscape orientation)

2009-05-21 Thread Zeljko Vrba
On Thu, May 21, 2009 at 12:32:28PM +0100, Prof Brian Ripley wrote: Using Acrobat Reader to view PostScript! It is a PDF viewer. Ah, sorry, I explicitly convert the PS with ghostscript's ps2pdf. suspect you need to track down where conversion to PDF is happening and disable

Re: [R] postscript problems (landscape orientation)

2009-05-21 Thread Peter Dalgaard
Zeljko Vrba wrote: On Thu, May 21, 2009 at 12:32:28PM +0100, Prof Brian Ripley wrote: Using Acrobat Reader to view PostScript! It is a PDF viewer. Ah, sorry, I explicitly convert the PS with ghostscript's ps2pdf. suspect you need to track down where conversion to PDF is happening and

Re: [R] postscript problems (landscape orientation)

2009-05-21 Thread Zeljko Vrba
On Thu, May 21, 2009 at 02:14:01PM +0200, Peter Dalgaard wrote: I think the trick is jade:~/ env | grep GS_ GS_OPTIONS=-dAutoRotatePages=/None Thanks, I found that myself. However, when using ps2pdf from Miktex 2.7, I get the following error: Unrecoverable error: typecheck in

Re: [R] postscript problems (landscape orientation)

2009-05-21 Thread David Scott
On Thu, 21 May 2009, Zeljko Vrba wrote: On Thu, May 21, 2009 at 02:14:01PM +0200, Peter Dalgaard wrote: I think the trick is jade:~/ env | grep GS_ GS_OPTIONS=-dAutoRotatePages=/None Thanks, I found that myself. However, when using ps2pdf from Miktex 2.7, I get the following error:

Re: [R] postscript problems (landscape orientation)

2009-05-21 Thread Ted Harding
On 21-May-09 23:02:28, David Scott wrote: Well most people deal with that problem by not using Acrobat to read .pdf files. On linux you can use evince or xpdf. On windows just use gsview32. Those readers don't lock the .pdf. I am with Peter and generally go straight to pdf these days. The