[R] postscript problem in 1.1.0

Matthew Wiener mcw at ln.nimh.nih.gov
Wed Jun 21 19:50:38 CEST 2000


I just compiled R 1.1.0 on a Xeon machine running Linux.  When I try to
open a postscript file, I get the error 

Error in old$command == "default" : comparison (1) is possible only for
vector types

The offending line seems to be 

    if (old$command == "default") 
        old$command <- if (!is.null(cmd <- getOption("printcmd"))) 
    else "" 

which has been added since 1.0.1. 

The problem seems to be that old has no component named command. 
ps.options doesn't return any such component, nor will it allow any such
component to be set, even with override.check = T.  And removing the lines
doesn't work, because the internal PS function called at the end of the
function looks for old$command, too. 

I was able to use postscript in 1.0.1.  I looked through the NEWS, but
couldn't find anything that seems to address this problem. 

Any help appreciated.

Matt Wiener

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