Skip to content
Prev 23351 / 63421 Next

variable scope in update(): bug or feature?

You haven't told us what you consider to be the bug here. Note that the 
help page for update says

      'update' will update and (by default) re-fit a model. It does this
      by extracting the call stored in the object, updating the call and
      (by default) evaluating that call. Sometimes it is useful to call
      'update' with only one argument, for example if the data frame has
      been corrected.

which seems to be exactly in accord with the behaviour you report
(especially the last sentence).

Please tell us what you expected and where exactly it is documented that R 
works the way you expected.
On Fri, 22 Dec 2006, Michael wrote: