Yes, you were right. Although I have browsed the FAQ I did not connect the dots ...
Many thanks Ed. -----Original Message----- From: David Winsemius [mailto:dwinsem...@comcast.net] Sent: Wednesday, February 17, 2010 8:22 PM To: Eduardo M. A. M.Mendes Cc: r-help@r-project.org Subject: Re: [R] Problems with xyplot On Feb 17, 2010, at 5:07 PM, Eduardo M. A. M.Mendes wrote: > Hello > > I wonder whether someone can tell me what I am doing wrong. Here is > the > code (from Bayesian Computation with R - Chapter 2.3.R) that I am > trying to > run > > #################################### > library(lattice) > <snipped code and many empty lines> > windows() > xyplot(Probability~P| > Type,data=xydata,layout=c(1,2),type="h",lwd=3,col="blac > k") # Last command http://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-do-lattice_002ftrellis-grap hics-not-work_003f > > Although there is no warning or error msg after running the code > (source("Chapter.2.3.R"), nothing shows up on the second window. > However > when I issue the last command after the prompt on the command line a > graphics shows up. What could be wrong? Failure to RTF? -- David Winsemius, MD Heritage Laboratories West Hartford, CT ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.