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

Jeff Newmiller jdnewm|| @end|ng |rom dcn@d@v|@@c@@u@
Thu Dec 2 22:41:52 CET 2021


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 using gmail.com> wrote:
>Sorry for sending an unfinished message!
>
>On Thu, 2 Dec 2021 23:57:11 +0300
>Ivan Krylov <krylov.r00t using 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.



More information about the R-help mailing list