Toot

Written by Scott Chamberlain on 2024-10-10 at 04:31

[#]rstats thoughts on this behavior for intersect ? it’s clear the code within intersect has changed, but it's not clear to me if it's intended that list names are dropped?

x <- list(fruit = "pear", meat = "chicken")

y <- list(fruit = "pear")

intersect(x, y)

[#] R 4.4.1 (retains list names)

[#]> $fruit

[#]> [1] "pear"

[#] R-devel, 4.5.0 (drops list names)

[#]> [[1]]

[#]> [1] "pear"

=> More informations about this toot | View the thread | More toots from sckottie@fosstodon.org

Mentions

Tags

=> View rstats tag

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113281247541887709
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
222.000207 milliseconds
Gemini-to-HTML Time
0.620915 milliseconds

This content has been proxied by September (3851b).