[Rd] issue with model.frame()
Berry, Charles
ccberry @ending from uc@d@edu
Tue May 1 22:20:35 CEST 2018
> On May 1, 2018, at 1:15 PM, Martin Maechler <maechler at stat.math.ethz.ch> wrote:
>
> What version of R is that ?
Sorry. It was 3.4.2. But it doesn't matter, because my diagnosis was wrong even there. I think (based on my reading of my outdated version) the problem is a bit upstream in terms() as I noted in a follow up to the Terry.
> 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 ...
>
Again, due to my bad diagnosis, I guess.
Chuck
More information about the R-devel
mailing list