If I define a function called
log.foo = function(foo){
log(foo)
}
then R will think it is a S3 method. How can I tell R log.foo() is not the S3 method for the class foo. (In fact, class foo does not exist.)
Or do I just have to rename my function?