issue with model.frame()
I want to add that the priority for this is rather low, since we have a couple of work arounds for the user/data set in question. I have some ideas about changing the way in which ridge() works, which might make the problem moot. The important short-term result was finding that it wasn't an error of mine in the survival package. :-) Add it to your "think about it" list. Terry
On 05/01/2018 03:15 PM, Martin Maechler wrote:
What version of R is that ? In current versions it is
varnames <- vapply(vars, deparse2, " ")[-1L]
and deparse2() is a slightly enhanced version of the above
function, again with 'width.cutoff = 500'
*BUT* if you read help(deparse) you will learn that 500 is the
upper bound allowed currently. (and yes, one could consider
increasing that as it has been unchanged in R since the very
beginning (I have checked R version 0.49 from 1997).
On the other hand, deparse2 (and your older code above) do paste
all the parts together via collapse = " " so I don't see
quite yet ...
Martin