Re: [Rd] Puzzled about a new method for "[".

2019-11-03 Thread Rolf Turner
On 4/11/19 1:06 PM, Duncan Murdoch wrote: On 03/11/2019 6:43 p.m., Rolf Turner wrote: On 4/11/19 10:31 AM, Duncan Murdoch wrote: On 03/11/2019 4:11 p.m., Rolf Turner wrote: I recently tried to write a new method for "[", to be applied to data frames, so that the object returned would ret

Re: [Rd] Puzzled about a new method for "[".

2019-11-03 Thread Duncan Murdoch
On 03/11/2019 6:43 p.m., Rolf Turner wrote: On 4/11/19 10:31 AM, Duncan Murdoch wrote: On 03/11/2019 4:11 p.m., Rolf Turner wrote: I recently tried to write a new method for "[", to be applied to data frames, so that the object returned would retain (all) attributes of the columns, including

Re: [Rd] Puzzled about a new method for "[".

2019-11-03 Thread Rolf Turner
On 4/11/19 10:31 AM, Duncan Murdoch wrote: On 03/11/2019 4:11 p.m., Rolf Turner wrote: I recently tried to write a new method for "[", to be applied to data frames, so that the object returned would retain (all) attributes of the columns, including attributes that my code had created. I thr

Re: [Rd] Puzzled about a new method for "[".

2019-11-03 Thread Duncan Murdoch
On 03/11/2019 4:11 p.m., Rolf Turner wrote: I recently tried to write a new method for "[", to be applied to data frames, so that the object returned would retain (all) attributes of the columns, including attributes that my code had created. I thrashed around for quite a while, and then got so

Re: [Rd] Puzzled about a new method for "[".

2019-11-03 Thread IƱaki Ucar
On Sun, 3 Nov 2019 at 22:12, Rolf Turner wrote: > > > I recently tried to write a new method for "[", to be applied to data > frames, so that the object returned would retain (all) attributes of the > columns, including attributes that my code had created. > > I thrashed around for quite a while,

[Rd] Puzzled about a new method for "[".

2019-11-03 Thread Rolf Turner
I recently tried to write a new method for "[", to be applied to data frames, so that the object returned would retain (all) attributes of the columns, including attributes that my code had created. I thrashed around for quite a while, and then got some help from Rui Barradas who showed me