[R] xfig device

Brian Kurotsuchi bkurotsu at toocool.itslab.calpoly.edu
Mon Mar 8 17:17:55 CET 1999


Actually I did remember to dev.off().  I'm inserting the graphic into a LaTeX
document and then using gs to print it.  What happens is that gs processes
most of the document and then spits out an error just before it finishes.

I can actually print the partial file it creates by running gs manually and
directing the output file to the printer device.  The problem is that I
normally send the document (as postscript from dvips) through lp which
automagically runs gs (Solaris print filter system) and directs that to the
device.  Of course an error code from gs causes the filtering to abort and I
get no output.

BK

Quoting Alvaro A. Novo (novo at uiuc.edu):
> On Wed, 3 Mar 1999, Brian Kurotsuchi wrote:
> 
> > Hi, I am VERY interested in getting the xfig driver so that I can edit
> > graphical output from R.  Searching through the mail archives and reading
> > documentation isn't helping.  Is there or isn't there a working driver for
> > this purpose.  How can I get it?  I tried looking at the development version
> > of the tarballs, but I didn't find anything that looked promising in there.
> > 
> > Also, does anybody else have problems with using ghostscript on the postscript
> > output from R?
> 
> I guess that your problem is caused because you forget to close the
> "postscript graphics device" after doing something like:  
> 
> > postscript("xxx.ps") 
> > plot(x,y) 
> > dev.off() # you are not doing this step, I guess. 
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list