From ccberry @ending from uc@d@edu  Tue May  1 22:20:35 2018
From: ccberry @ending from uc@d@edu (Berry, Charles)
Date: Tue, 1 May 2018 20:20:35 +0000
Subject: [Rd] issue with model.frame()
In-Reply-To: <23272.51944.116829.707510@stat.math.ethz.ch>
References: <bb6fa2$9b935h@ironport10.mayo.edu>
 <EF41437C-933A-44C7-86C0-992953B39E9E@ucsd.edu>
 <23272.51944.116829.707510@stat.math.ethz.ch>
Message-ID: <49E8B791-1588-4825-8DB8-DF6163FC075D@ucsd.edu>



> 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



[Rd] issue with model.frame()
Berry, Charles