[R] 'panel.smooth' error

Sebastian P. Luque spluque at gmail.com
Wed Aug 18 22:34:18 CEST 2010


Hi,

The following call:

xyplot(incidence ~ year, melanoma, panel=panel.smooth)

produces a blank plot region with an error message:

Error using packet 1
plot.new has not been called yet


> sessionInfo()
R version 2.11.1 (2010-05-31) 
x86_64-pc-linux-gnu 

locale:
 [1] LC_CTYPE=en_CA.UTF-8       LC_NUMERIC=C               LC_TIME=en_CA.UTF-8        LC_COLLATE=en_CA.UTF-8     LC_MONETARY=C              LC_MESSAGES=en_CA.UTF-8   
 [7] LC_PAPER=en_CA.UTF-8       LC_NAME=C                  LC_ADDRESS=C               LC_TELEPHONE=C             LC_MEASUREMENT=en_CA.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] lattice_0.18-8

loaded via a namespace (and not attached):
[1] grid_2.11.1


Is this a known problem with the above environment?

Cheers,

-- 
Seb



More information about the R-help mailing list