search for: ritchie73

Displaying 13 results from an estimated 13 matches for "ritchie73".

Did you mean: ritchie
2018 Feb 18
2
Duplicate column names created by base::merge() when by.x has the same name as a column in y
...attached patch.diff will make merge.data.frame() append the suffixes >>> to >>> columns with common names between by.x and names(y). >>> >>> Best, >>> >>> Scott Ritchie >>> >>> On 17 February 2018 at 11:15, Scott Ritchie <s.ritchie73 at gmail.com> >>> wrote: >>> >>> Hi Frederick, >>>> >>>> I would expect that any duplicate names in the resulting data.frame >>>> would >>>> have the suffixes appended to them, regardless of whether or not they >>&g...
2018 Feb 18
2
Duplicate column names created by base::merge() when by.x has the same name as a column in y
....y. > > Now of course this would still change output, but it would change it to > something I think would be better, while retaining the 'merge columns > retain their exact names' mechanic as documented. > > ~G > > On Sat, Feb 17, 2018 at 6:50 PM, Scott Ritchie <s.ritchie73 at gmail.com> > wrote: > >> Thanks Duncan and Frederick, >> >> I suspected as much - there doesn't appear to be any reason why conflicts >> between by.x and names(y) shouldn't and cannot be checked, but I can see >> how this might be more trouble than...
2018 Feb 20
3
Duplicate column names created by base::merge() when by.x has the same name as a column in y
...but it would change it to > > > something I think would be better, while retaining the 'merge columns > > > retain their exact names' mechanic as documented. > > > > > > ~G > > > > > > On Sat, Feb 17, 2018 at 6:50 PM, Scott Ritchie <s.ritchie73 at gmail.com> > > > wrote: > > > > > >> Thanks Duncan and Frederick, > > >> > > >> I suspected as much - there doesn't appear to be any reason why > conflicts > > >> between by.x and names(y) shouldn't and cannot be che...
2018 Feb 22
2
Duplicate column names created by base::merge() when by.x has the same name as a column in y
...taining the 'merge > columns >> > > > retain their exact names' mechanic as documented. >> > > > >> > > > ~G >> > > > >> > > > On Sat, Feb 17, 2018 at 6:50 PM, Scott Ritchie < > s.ritchie73 at gmail.com> >> > > > wrote: >> > > > >> > > >> Thanks Duncan and Frederick, >> > > >> >> > > >> I suspected as much - there doesn't appear to be any reason why >> > conflict...
2018 Feb 18
0
Duplicate column names created by base::merge() when by.x has the same name as a column in y
...used int he merge) is changed to name.y. Now of course this would still change output, but it would change it to something I think would be better, while retaining the 'merge columns retain their exact names' mechanic as documented. ~G On Sat, Feb 17, 2018 at 6:50 PM, Scott Ritchie <s.ritchie73 at gmail.com> wrote: > Thanks Duncan and Frederick, > > I suspected as much - there doesn't appear to be any reason why conflicts > between by.x and names(y) shouldn't and cannot be checked, but I can see > how this might be more trouble than its worth given it potentiall...
2018 Feb 17
2
Duplicate column names created by base::merge() when by.x has the same name as a column in y
...t, Feb 17, 2018 at 04:42:21PM +1100, Scott Ritchie wrote: > The attached patch.diff will make merge.data.frame() append the suffixes to > columns with common names between by.x and names(y). > > Best, > > Scott Ritchie > > On 17 February 2018 at 11:15, Scott Ritchie <s.ritchie73 at gmail.com> wrote: > > > Hi Frederick, > > > > I would expect that any duplicate names in the resulting data.frame would > > have the suffixes appended to them, regardless of whether or not they are > > used as the join key. So in my example I would expect &qu...
2018 Feb 20
0
Duplicate column names created by base::merge() when by.x has the same name as a column in y
...is would still change output, but it would change it to > > something I think would be better, while retaining the 'merge columns > > retain their exact names' mechanic as documented. > > > > ~G > > > > On Sat, Feb 17, 2018 at 6:50 PM, Scott Ritchie <s.ritchie73 at gmail.com> > > wrote: > > > >> Thanks Duncan and Frederick, > >> > >> I suspected as much - there doesn't appear to be any reason why conflicts > >> between by.x and names(y) shouldn't and cannot be checked, but I can see > >> h...
2018 Feb 17
2
Duplicate column names created by base::merge() when by.x has the same name as a column in y
Hi Frederick, I would expect that any duplicate names in the resulting data.frame would have the suffixes appended to them, regardless of whether or not they are used as the join key. So in my example I would expect "names.x" and "names.y" to indicate their source data.frame. While careful reading of the documentation reveals this is not the case, I would argue the intent of
2018 Feb 21
0
Duplicate column names created by base::merge() when by.x has the same name as a column in y
...> > > something I think would be better, while retaining the 'merge columns > > > > retain their exact names' mechanic as documented. > > > > > > > > ~G > > > > > > > > On Sat, Feb 17, 2018 at 6:50 PM, Scott Ritchie < s.ritchie73 at gmail.com> > > > > wrote: > > > > > > > >> Thanks Duncan and Frederick, > > > >> > > > >> I suspected as much - there doesn't appear to be any reason why > > conflicts > > > >> between by.x and names...
2018 Feb 17
0
Duplicate column names created by base::merge() when by.x has the same name as a column in y
The attached patch.diff will make merge.data.frame() append the suffixes to columns with common names between by.x and names(y). Best, Scott Ritchie On 17 February 2018 at 11:15, Scott Ritchie <s.ritchie73 at gmail.com> wrote: > Hi Frederick, > > I would expect that any duplicate names in the resulting data.frame would > have the suffixes appended to them, regardless of whether or not they are > used as the join key. So in my example I would expect "names.x" and > &quo...
2018 Feb 23
0
Duplicate column names created by base::merge() when by.x has the same name as a column in y
...; columns > >> > > > retain their exact names' mechanic as documented. > >> > > > > >> > > > ~G > >> > > > > >> > > > On Sat, Feb 17, 2018 at 6:50 PM, Scott Ritchie < > > s.ritchie73 at gmail.com> > >> > > > wrote: > >> > > > > >> > > >> Thanks Duncan and Frederick, > >> > > >> > >> > > >> I suspected as much - there doesn't appear to be any reason >...
2018 Feb 18
0
Duplicate column names created by base::merge() when by.x has the same name as a column in y
...+1100, Scott Ritchie wrote: >> The attached patch.diff will make merge.data.frame() append the suffixes to >> columns with common names between by.x and names(y). >> >> Best, >> >> Scott Ritchie >> >> On 17 February 2018 at 11:15, Scott Ritchie <s.ritchie73 at gmail.com> wrote: >> >>> Hi Frederick, >>> >>> I would expect that any duplicate names in the resulting data.frame would >>> have the suffixes appended to them, regardless of whether or not they are >>> used as the join key. So in my example...
2018 Feb 15
2
Duplicate column names created by base::merge() when by.x has the same name as a column in y
Hi, I was unable to find a bug report for this with a cursory search, but would like clarification if this is intended or unavoidable behaviour: ```{r} # Create example data.frames parents <- data.frame(name=c("Sarah", "Max", "Qin", "Lex"), sex=c("F", "M", "F", "M"),