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

2019-11-05 Thread Iñaki Ucar
You can try for testing with a column of class errors, from the package 'errors'. The attributes depend on the content in the way Hadley pointed out. Iñaki El lun., 4 nov. 2019 23:19, Rolf Turner escribió: > On 5/11/19 10:54 AM, Duncan Murdoch wrote: > > On 04/11/2019 4:40 p.m., Pages, Herve wr

Re: [Rd] Questions on the R C API

2019-11-05 Thread Gabriel Becker
Hi Martin and Jiefei, A quick note, I'll try to respond more completely later. > It is a primitive but I don't understand how it manage to do that. > Primitives and Internals are allowed to be, but usually aren't, SPECIALSXPs rather than BUILTINSXPs. SPECIALSXPs receive their arguments unevalua

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

2019-11-05 Thread Rolf Turner
On 5/11/19 9:37 PM, Iñaki Ucar wrote: You can try for testing with a column of class errors, from the package 'errors'. The attributes depend on the content in the way Hadley pointed out. Thanks, but it turns out to be much simpler than that. There is a very easy way to accomplish what I wan