[R] Problems with xyplot

Eduardo M. A. M.Mendes emammendes at gmail.com
Wed Feb 17 23:59:33 CET 2010


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:dwinsemius at comcast.net] 
Sent: Wednesday, February 17, 2010 8:22 PM
To: Eduardo M. A. M.Mendes
Cc: r-help at 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



More information about the R-help mailing list