I've now added a simple implementation of hasName to R-devel and R-patched. When I find the time, I'll go through the base packages and change the !is.null(x$name) idiom to hasName. (All but "base", that is: hasName is in utils, and it is better if base remains self-contained.)

If any bottlenecks turn up, I could make hasName faster by redoing it in C code, but so far it is just R code very similar to the %in% implementation.

Duncan Murdoch

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to