Re: [Rd] as.formula("x") error on C stack limit

2016-11-01 Thread András Tajti
Thank you for the exhausting answer. Is it possible to add a note to the help page regarding the conclusion (or even the edge cases)? is it possible to add any validation for x in formula.character? On 1 November 2016 at 21:48, William Dunlap wrote: > Another example uses formula.character's o

Re: [Rd] as.formula("x") error on C stack limit

2016-11-01 Thread William Dunlap via R-devel
Another example uses formula.character's other arguments: > as.formula("env") Error: object of type 'special' is not subsettable > as.formula("...") 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:

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

2016-11-01 Thread András Tajti
Dear all, I tried to run as.formula("x") and got an error message "Error: C stack usage 7971120 is too close to the limit" whether x exists or not. This is not the case in as.formula("y"), where "object 'y' not found" is the error message if y not exists, or "invalid formula" error or a formula d