Re: [R] grImport/ghostscript problems

From: guillaume Le Ray <leray.guillaume_at_gmail.com>
Date: Tue, 05 Apr 2011 11:30:29 +0200

Hi Al,

I'm facing exactly the same problem as you are, have you manage to fix it? If yes I eager to know the trick.

Regards,

Guillaume

2011/3/27 Al Roark <hrbuilder_at_hotmail.com>

> Paul Murrell <p.murrell <at> auckland.ac.nz> writes:
>
> >
> > Hi
> >
> > On 28/03/2011 8:13 a.m., Al Roark wrote:
> > >
> > > Hi All: I've been struggling for a while trying to get grImport up
> > > and running. I'm on a Windows 7 (home premium 64 bit) machine
> > > running R-2.12.2 along with GPL Ghostscript 9.01. I've set my Windows
> > > PATH variable to point to the Ghostscript \bin and \lib directories,
> > > and I've created the R_GSCMD environment variable pointing to
> > > gswin32c.exe. I don't have any experience with Ghostscript, but with
> > > the setup described above I can view the postscript file with the
> > > following command to the Windows command prompt: gswin32c.exe
> > > D:\Sndbx\vasarely.ps However, I can't get the PostScriptTrace()
> > > function to work on the same file. Submitting
> > > PostScriptTrace("D:/Sndbx/vasarely.ps") gives me the error: Error in
> > > PostScriptTrace("D:/Sndbx/vasarely.ps") : status 127 in running
> > > command 'gswin32c.exe -q -dBATCH -dNOPAUSE -sDEVICE=pswrite
> > > -sOutputFile=C:\Users\Al\AppData\Local\Temp\RtmppPjDAf\file5db99cb
> > > -sstdout=vasarely.ps.xml capturevasarely.ps' Your suggestions are
> > > much appreciated. Cheers, Al [[alternative HTML version deleted]]
> >
> > You could try running the ghostscript command that is printed in the

> > error message at the Windows command prompt to see more info about the
> > problem (might need to remove the '-q' so that ghostscript prints
> > messages to the screen).
> >
> > Paul
> >
>
> Thanks for your reply.
>
> Perhaps this is a Ghostscript problem. When I run the Ghostscript command,
> I'm
> met with the rather unhelpful error: 'GPL Ghostscript 9.01: Unrecoverable
> error,
> exit code 1 (occurs whether or not I remove the -q)'.
>
> Interestingly, if I remove the final argument (in this case,
> capturevasarely.ps)
> the Ghostscript command executes, placing a file (appears to be xml) in the
> temporary directory. However, I'm not sure what to do with this result.
>
> ______________________________________________
> R-help_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

        [[alternative HTML version deleted]]



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Tue 05 Apr 2011 - 09:33:29 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 05 Apr 2011 - 21:40:27 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive