Re: [Rd] Better 'undefined columns' error for data.frame

2022-09-26 Thread GILLIBERT, Andre
Duncan Murdoch wrote: > > > On 25/09/2022 2:48 p.m., Dirk Eddelbuettel wrote: > > > > Andre, > > > > On 25 September 2022 at 18:09, GILLIBERT, Andre wrote: > > | Please, find the patch attached, based on the latest R SVN trunk code. > > > > Well the mailing list software tends to drop

Re: [Rd] Better 'undefined columns' error for data.frame

2022-09-25 Thread Duncan Murdoch
On 25/09/2022 2:48 p.m., Dirk Eddelbuettel wrote: Andre, On 25 September 2022 at 18:09, GILLIBERT, Andre wrote: | Please, find the patch attached, based on the latest R SVN trunk code. Well the mailing list software tends to drop attachments. There is a reason all these emails suggest to use

Re: [Rd] Better 'undefined columns' error for data.frame

2022-09-25 Thread Duncan Murdoch
Hi. That change is much more ambitious than I would have guessed. R Core might prefer it to arrive via bugzilla. A couple of small comments: 1. Your last test, "dfa[,cols]" produces a really long message: > dfa[,cols] Error in `[.data.frame`(dfa, , cols) : undefined columns selected:

Re: [Rd] Better 'undefined columns' error for data.frame

2022-09-25 Thread Dirk Eddelbuettel
Andre, On 25 September 2022 at 18:09, GILLIBERT, Andre wrote: | Please, find the patch attached, based on the latest R SVN trunk code. Well the mailing list software tends to drop attachments. There is a reason all these emails suggest to use bugs.r-project.org. Dirk --

Re: [Rd] Better 'undefined columns' error for data.frame

2022-09-25 Thread GILLIBERT, Andre
Duncan Murdoch wrote: > On 24/09/2022 9:56 a.m., GILLIBERT, Andre wrote: > > Dear R developers, > > > > > > One of the error messages that make me loose the most time is the > > "undefined columns selected" of `[.data.frame`. > > > > It ought to specify the list of bad column names, but

Re: [Rd] Better 'undefined columns' error for data.frame

2022-09-24 Thread Duncan Murdoch
On 24/09/2022 9:56 a.m., GILLIBERT, Andre wrote: Dear R developers, One of the error messages that make me loose the most time is the "undefined columns selected" of `[.data.frame`. It ought to specify the list of bad column names, but currently does not. Fortunately, this can easily be

Re: [Rd] Better 'undefined columns' error for data.frame

2022-09-24 Thread Martin Maechler
> GILLIBERT, Andre > on Sat, 24 Sep 2022 13:56:26 + writes: > Dear R developers, One of the error messages that make me > loose the most time is the "undefined columns selected" of > `[.data.frame`. > It ought to specify the list of bad column names, but >

[Rd] Better 'undefined columns' error for data.frame

2022-09-24 Thread GILLIBERT, Andre
Dear R developers, One of the error messages that make me loose the most time is the "undefined columns selected" of `[.data.frame`. It ought to specify the list of bad column names, but currently does not. Fortunately, this can easily be fixed by a small patch I can write. Are you