When I tried the following commands, I got a strange message.
> x<-data.frame(y=c(1:10))
> plot(x$z)
Error in xy.coords(x, y, xlabel, ylabel, log) :
x and y lengths differ
"The data frame, x, does not have a field named z."
may be better user-friendly message for this kind of common error.
Daehyok Shin
______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html