[R] Forwarding missing arguments to the `[` method

Jeff Newmiller
Thu, 02 Dec 2021 21:41:52 -0000

I think you need a reprex... I don't think your claim is correct as stated.

On December 2, 2021 1:00:01 PM PST, Ivan Krylov <krylov.r00t at gmail.com>
wrote:
>Sorry for sending an unfinished message!
>
>On Thu, 2 Dec 2021 23:57:11 +0300
>Ivan Krylov <krylov.r00t at gmail.com> wrote:
>
>> Why can I forward missing i,j to built-in `[`
>
>Why can I forward missing i,j to the built-in `[` method but not
>to user-defined methods? How can I fix this? Default i and j to TRUE?
>Are there less involved methods of handling my problem of subsetting
>attr(x, 'foo') with the dimnames of x? Preferrably without setting
>dimnames on attr(x, 'foo') itself.
>

--
Sent from my phone. Please excuse my brevity.