[R] recordPlot in 1.5.x, replayPlot in 1.6.0 problem

Don MacQueen macq at llnl.gov
Fri Nov 1 17:18:44 CET 2002


I have plots that were stored using recordPlot() in a fairly recent 
but pre-1.6.0 version of R that will not replayPlot() in R 1.6.0. The 
error message is
    Error in replayPlot(x) : invalid hex digit in color or lty


The plots were stored in June (2002-6-14), each as an element of a 
list named 'rpl'. The version of R that was current then is what I 
used. At that time I was able to re-display them.

Today, in R 1.6.0, when I try to re-display them, I get an error message:
>  rpl[[1]]
Error in replayPlot(x) : invalid hex digit in color or lty

The plots did have lines with col='blue' and lty=2 in them. This 
little snippet of code executed today works
  > plot(1:5)
  > lines(1:5,col='blue',lty=2)
  > tmp <- recordPlot()
  > tmp
so there doesn't seem to be a problem if I work entirely within 
v1.6.0. Which suggests that the problem is in going from one version 
to the next.

>  version
          _
platform sparc-sun-solaris2.7
arch     sparc
os       solaris2.7
system   sparc, solaris2.7
status   Patched
major    1
minor    6.0
year     2002
month    10
day      13
language R

-Don

-- 
--------------------------------------
Don MacQueen
Environmental Protection Department
Lawrence Livermore National Laboratory
Livermore, CA, USA
--------------------------------------
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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