[Rd] how to use update if method for formula is not in namespace?
andy_liaw at merck.com
Tue Sep 14 19:49:46 CEST 2004
I've noticed that if the method for formula is not exported in NAMESPACE,
then update() would fail. As an example:
> iris.svm <- svm(Species ~ ., data=iris)
Error in eval(expr, envir, enclos) : couldn't find function "svm.formula"
The same thing happens with randomForest, because randomForest.formula() was
not exported. Is this the intended behavior of update()? What would be the
More information about the R-devel