Hello

I noticed that starting with R version 3.3.0 onward, this generates a warning:

   > txt <- c("a", "3.14")
   > read.table(file = textConnection(txt), header = FALSE, colClasses = c(x = "character", y = "numeric"))

the warning is "not all columns named in 'colClasses' exist" and I guess the change was made in response to this?

   https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16478

Regardless, I am wondering whether this is desirable, that as a result of the change, the code has become stricter about the presence of a (formerly) harmless names attribute. Or am I missing something?

Regards

Ben

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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