[R] Problems with xyplot

David Winsemius dwinsemius at comcast.net
Wed Feb 17 23:21:39 CET 2010


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-graphics-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



More information about the R-help mailing list