Skip to content
Prev 52570 / 63424 Next

as.formula("x") error on C stack limit

Another example uses formula.character's other arguments:
Error: object of type 'special' is not subsettable
Error in eval(expr, envir, enclos) : '...' used in an incorrect context


It may happen for the same reason that the following does not give an error:
response ~ pred1 + pred2

and that the followings give a somewhat surprising result
response ~ pred1 + pred2
<environment: 0x1e87978>

The character method for formula works well if its 'x' argument looks like
a formula, but it doesn't act consistently otherwise.



Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Tue, Nov 1, 2016 at 12:54 PM, Andr?s Tajti <atajti at gmail.com> wrote: