On 10/05/13 05:15, John Kane wrote:
X[,names(X)[4]] works fine for me. I had never thought of doing this. Neat idea.
Perhaps I am being obtuse, but how would X[,names(X)[4]] differ from X[,4]?
cheers,
Rolf Turner
______________________________________________
[email protected] 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.

