[Rd] how to use update if method for formula is not in namespace?

2004-09-14 Thread Liaw, Andy
Dear R-devel, I've noticed that if the method for formula is not exported in NAMESPACE, then update() would fail. As an example: library(e1071) data(iris) iris.svm - svm(Species ~ ., data=iris) update(iris.svm) Error in eval(expr, envir, enclos) : couldn't find function svm.formula The

Re: [Rd] how to use update if method for formula is not in namespace?

2004-09-14 Thread Prof Brian Ripley
On Tue, 14 Sep 2004, Liaw, Andy wrote: Dear R-devel, I've noticed that if the method for formula is not exported in NAMESPACE, then update() would fail. As an example: library(e1071) data(iris) iris.svm - svm(Species ~ ., data=iris) update(iris.svm) Error in eval(expr, envir,