I'm trying to create some trellis plots (like the last plot in the lattice demo). When I run the demo( "lattice" ), the demo runs just fine, but when I cut and paste some or all of the demo code into a r file of mine (and nothing else), I can't see anything on a device and it doesn't look like any of the demo is being run. Has anyone else seen this? Jeff. Jeff D. Hamann Hamann, Donald & Associates PO Box 1421 Corvallis, Oregon 97339 jeff_hamann at hamanndonald.com www.hamanndonald.com -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
"Jeff D. Hamann" <jeff_hamann at hamanndonald.com> writes:> I'm trying to create some trellis plots (like the last plot in the lattice > demo). When I run the demo( "lattice" ), the demo runs just fine, but when I > cut and paste some or all of the demo code into a r file of mine (and > nothing else), I can't see anything on a device and it doesn't look like any > of the demo is being run. Has anyone else seen this?Notice that trellis plots are created from objects of class "trellis" by print.trellis. In contexts where the result of computations need an explicit print(), e.g. when part of a function, so do the trellis objects. -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._