It would be really nice if R warned you when packages had conflicting
methods. For example (and this took me a couple of hours to track
down), RMySQL and RPostgreSQL both define setMethod("print",
"dbObjectId"), so that:

library(RMySQL)
getMethod("print", "dbObjectId")

library(RPostgreSQL)
getMethod("print", "dbObjectId")

Obviously it's a bad idea to associate methods with classes that you
don't own, but it would be great if R could give some warning in this
situation.

Hadley

-- 
Chief Scientist, RStudio
http://had.co.nz/

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

Reply via email to