Hi Listers I have been trying to import a .ps graphic file into R using the grImport package but I keep getting the following error message Error in PostScriptTrace("fish.ps") : status 127 in running command 'gswin32c.exe -q -dBATCH -dNOPAUSE -sDEVICE=pswrite -sOutputFile=C:\Users\ahalford\AppData\Local\Temp\Rtmp6BOVDe\fileffc30613d6 -sstdout=fish.ps.xml capturefish.ps' Any advice appreciated. Andy -- Andrew Halford Ph.D Adjunct Research Scientist University of Guam & Curtin University Ph: +61 (0) 468 419 473 [[alternative HTML version deleted]]
Hello, What is the result of "sessionInfo()"? Regards, Pascal 2013/8/14 Andrew Halford <andrew.halford@gmail.com>> Hi Listers > > I have been trying to import a .ps graphic file into R using the grImport > package but I keep getting the following error message > > Error in PostScriptTrace("fish.ps") : > status 127 in running command 'gswin32c.exe -q -dBATCH -dNOPAUSE > -sDEVICE=pswrite > -sOutputFile=C:\Users\ahalford\AppData\Local\Temp\Rtmp6BOVDe\fileffc30613d6 > -sstdout=fish.ps.xml capturefish.ps' > > Any advice appreciated. > > Andy > > > -- > Andrew Halford Ph.D > Adjunct Research Scientist > University of Guam & Curtin University > Ph: +61 (0) 468 419 473 > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@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]]
H ello, Please reply to the list. You will have more chance to get a reply. As I am not a Windows user, I can't help you more. But this problem has been reported in this thread, with a reply by Paul Murrell, one of the author of the package you are trying to use. https://stat.ethz.ch/pipermail/r-help/2011-April/274065.html For record, I don't face this problem on Linux. Regards, Pascal 2013/8/14 Andrew Halford <andrew.halford@gmail.com>> Hi Pascal, > > Here is the output from the call to sessionInfo() > > > sessionInfo() > R version 3.0.1 (2013-05-16) > Platform: i386-w64-mingw32/i386 (32-bit) > > locale: > [1] LC_COLLATE=English_Australia.1252 LC_CTYPE=English_Australia.1252 > [3] LC_MONETARY=English_Australia.1252 LC_NUMERIC=C > [5] LC_TIME=English_Australia.1252 > > attached base packages: > [1] grid stats graphics grDevices utils datasets methods > [8] base > > other attached packages: > [1] grImport_0.8-4 XML_3.98-1.1 > > > Andy > > > On 14 August 2013 12:50, Pascal Oettli <kridox@ymail.com> wrote: > >> Hello, >> >> What is the result of "sessionInfo()"? >> >> Regards, >> Pascal >> >> >> >> 2013/8/14 Andrew Halford <andrew.halford@gmail.com> >> >>> Hi Listers >>> >>> I have been trying to import a .ps graphic file into R using the grImport >>> package but I keep getting the following error message >>> >>> Error in PostScriptTrace("fish.ps") : >>> status 127 in running command 'gswin32c.exe -q -dBATCH -dNOPAUSE >>> -sDEVICE=pswrite >>> >>> -sOutputFile=C:\Users\ahalford\AppData\Local\Temp\Rtmp6BOVDe\fileffc30613d6 >>> -sstdout=fish.ps.xml capturefish.ps' >>> >>> Any advice appreciated. >>> >>> Andy >>> >>> >>> -- >>> Andrew Halford Ph.D >>> Adjunct Research Scientist >>> University of Guam & Curtin University >>> Ph: +61 (0) 468 419 473 >>> >>> [[alternative HTML version deleted]] >>> >>> ______________________________________________ >>> R-help@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. >>> >> >> > > > -- > Andrew Halford Ph.D > Adjunct Research Scientist > University of Guam & Curtin University > Ph: +61 (0) 468 419 473 >[[alternative HTML version deleted]]
Hi Again, I still cannot get the PostscriptTrace to work. The error message remains the same. I have run the following with no problems> Sys.setenv(R_GSCMD="c:/Program Files(x86)/gs/gs9.07/bin/gswin32")but the call to Postscript Trace still fails> PostScriptTrace("fish.ps")Error in PostScriptTrace("fish.ps") : status 127 in running command 'c:/Program Files(x86)/gs/gs9.07/bin/gswin32 -q -dBATCH -dNOPAUSE -sDEVICE=pswrite -sOutputFile=C:\Users\ahalford\AppData\Local\Temp\RtmpiIf7Zx\file8507fcd9d1 -sstdout=fish.ps.xml capturefish.ps' What am I doing wrong here? Andy On 14 August 2013 12:10, Andrew Halford <andrew.halford@gmail.com> wrote:> Hi Listers > > I have been trying to import a .ps graphic file into R using the grImport > package but I keep getting the following error message > > Error in PostScriptTrace("fish.ps") : > status 127 in running command 'gswin32c.exe -q -dBATCH -dNOPAUSE > -sDEVICE=pswrite > -sOutputFile=C:\Users\ahalford\AppData\Local\Temp\Rtmp6BOVDe\fileffc30613d6 > -sstdout=fish.ps.xml capturefish.ps' > > Any advice appreciated. > > Andy > > > -- > Andrew Halford Ph.D > Adjunct Research Scientist > University of Guam & Curtin University > Ph: +61 (0) 468 419 473 >-- Andrew Halford Ph.D Adjunct Research Scientist University of Guam & Curtin University Ph: +61 (0) 468 419 473 [[alternative HTML version deleted]]