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.