Erik Iverson wrote: > > > ss wrote: >> It is: >> >> > data <- >> read.table('E-TABM-1-processed-data-1342561271_log2_with_symbols.txt', >> row.names = NULL ,header=TRUE, fill=TRUE) >> > class(data[3]) >> [1] "data.frame" >> > >> > > Oops, should have said class(data[[3]]) and > is.numeric(data[[3]]) > oops, my typo. of course, data[3] is a *data frame* (if data is one), so is.numeric(data[3]) must be FALSE. but clearly if column 3 was excluded, is.numeric(data[[3]]) must have been FALSE.
vQ ______________________________________________ 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.