I couldn't run PostScriptTrace() from the package "grImport" without an
error. At first the postscript program couldn't be found. however the
problem persisted after the full path the postscript program was indicated.
I read earlier post on the subject in vain. See the codes and output below.
The file "Senegal_location_map.ps" was originally a "svg" file from:
 http://en.wikipedia.org/wiki/File:Senegal_location_map.svg
It was saved as "ps" file from Inkscape.
Thank you for any assistance
Modou
> library(grImport)
Loading required package: grid
Loading required package: XML
> Sys.setenv(R_GSCMD="C:/Program Files/gs/gs9.05/bin/gswin64c.exe")
> PostScriptTrace("Senegal_location_map.ps", charpath=F)
Error in PostScriptTrace("Senegal_location_map.ps", charpath = F) :
  status 127 in running command 'C:/Program Files/gs/gs9.05/bin/gswin64c.exe
  -q -dBATCH -dNOPAUSE -sDEVICE=pswrite -sOutputFile=
  C:\Users\heman\AppData\Local\Temp\Rtmp2duW3P\filefd01d981ff7
  -sstdout=Senegal_location_map2.ps.xml captureSenegal_location_map.ps'
> traceback()
2: stop(gettextf("status %d in running command '%s'", ret, cmd),
       domain = NA)
1: PostScriptTrace("Senegal_location_map.ps", charpath = F)
> sessionInfo()
R version 2.15.0 (2012-03-30)
Platform: x86_64-pc-mingw32/x64 (64-bit)

	[[alternative HTML version deleted]]

