Re: [Rd] Bug in the "reformulate" function in stats package

2019-04-18 Thread peter dalgaard
I think that, also in R core, it is well recognized that it is unfortunate design that some formula manipulation tools rely on going via textual representation of the entire formula. I'd be strongly tempted to replace the current reformulate() with something like this > x <- c("a variable","ano

Re: [Rd] Bug in the "reformulate" function in stats package

2019-04-18 Thread Saren Tasciyan
So here is it as txt file. It is funny that a R file is restricted in R-devel mailing list. Anyhow, in this case R-core have a few choices here: * ignore my solution * show that it is actually bad or worse * consider adding it Considering, that it is a minor change from previous version and

Re: [Rd] Bug in the "reformulate" function in stats package

2019-04-18 Thread Martin Maechler
> Ben Bolker > on Thu, 18 Apr 2019 11:51:33 -0400 writes: > Your file didn't make it through the mailing list (which is quite > restrictive about which types/extensions it will take). > I appreciate your enthusiasm and persistence for this issue, but I > suspect you m

Re: [Rd] Bug in the "reformulate" function in stats package

2019-04-18 Thread Ben Bolker
Your file didn't make it through the mailing list (which is quite restrictive about which types/extensions it will take). I appreciate your enthusiasm and persistence for this issue, but I suspect you may have trouble convincing R-core to adopt your changes -- they are "better", "easier", "m

Re: [Rd] Bug in the "reformulate" function in stats package

2019-04-18 Thread Saren Tasciyan
Hi, Sorry for writing this late, I was very busy. I started this discussion here. I wish I could write to bugs.r-project.org, but I don't have an account and I will write here instead. Meanwhile, I solved my problem with a simpler fix (please see attached file)/. / This requires that term