Displaying 1 result from an estimated 1 matches for "completepathmak".
Did you mean:
completepathmaker
2005 Jun 04
3
How to change the value of a class slot
...n book admonishes "cheating on the
S evaluation model is to be avoided" (p. 190).
Thinking that class methods needed to an exception to this rule, I then
tried setMethod with the function I had written. However, when I called
the function I got
> setMethod("nextPath", "CompletePathMaker", nextPath)
Creating a new generic function for 'nextPath' in '.GlobalEnv'
[1] "nextPath"
> nextPath(pm)
Error: protect(): protection stack overflow
I can change the value of the slot interactively, so the problem does
not appear to be that the slots are conside...