[R] Unexpected result for df column $ subset with non-existent name

Rolf Turner r@turner @end|ng |rom @uck|@nd@@c@nz
Sat Oct 29 00:53:40 CEST 2022


On Fri, 28 Oct 2022 16:42:41 +0100
Rui Barradas <ruipbarradas using sapo.pt> wrote:

<SNIP>

> This behavior, partial matching of column or list members names when 
> extracting with `$` is practically a FAQ.
> See the latest R-Help thread on it after the release of R 4.0
> 
> 
> https://stat.ethz.ch/pipermail/r-help/2020-May/467143.html
> 
> 
> Hope this helps,

See also fortunes::fortune("toad"). :-)

cheers,

Rolf

-- 
Honorary Research Fellow
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276



More information about the R-help mailing list