It's a FAQ (7.22)

        -thomas

On Mon, 1 Oct 2007, Samor Gandhi wrote:

> Hello,
>  I am calling the following code with the loop! It makes 3 out graphs but 
> empty! COuld you help me plase on that? Thank you in advance
>
>  z1 <-  dbConnect(MyData, "something", "A1", "A2")
> for (tt in c("xyz", "abc", "m1")) {
> message(paste("Here", tt, "!!!"))
> mydata <- dbReadTable(z1, tt)
> jpeg(file=paste("D:/", tt, ".jpg", sep=""), width=00, height=100)
> plot.method="bitmap"
> xyplot(MyVALUE ~ MyNo | as.character(ID), data = mydata, main = tt, xlab = " 
> ", ylab = " ", type="l")
> dev.off()
>
> }
>
>
> ---------------------------------
>
>       [[alternative HTML version deleted]]
>
> ______________________________________________
> 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.
>

Thomas Lumley                   Assoc. Professor, Biostatistics
[EMAIL PROTECTED]       University of Washington, Seattle

______________________________________________
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.

Reply via email to