Ancestors

Written by Michael Chirico on 2024-08-27 at 04:35

Say hello to #rdatatable 1.16.0 🎉

Many thanks to the dozens of contributors, new and old!

A quick thread on what to look out for 👀 #rstats

=> More informations about this toot | More toots from michaelchirico@fosstodon.org

Written by Michael Chirico on 2024-08-27 at 04:39

Use names(.SD) in the LHS of := assignment now works!

DT[, names(.SD) := lapply(.SD, normalize), .SDcols = is.numeric]

Highly requested since 2014; turns out it was a one-line fix ✏️

=> More informations about this toot | More toots from michaelchirico@fosstodon.org

Toot

Written by Michael Chirico on 2024-08-27 at 04:41

fread() automatically detects ',' as a decimal separator (you're welcome 🇪🇺 and south america!)

=> More informations about this toot | More toots from michaelchirico@fosstodon.org

Descendants

Written by Michael Chirico on 2024-08-27 at 04:50

fcase() supports vectors in default, making it much more flexible & matching SQL CASE WHEN ... ELSE behavior.

fcase(

type == "fruit" & full_name %in% apples,

"Apple",

type == "vegetable" & full_name %in% broccoli,

"Broccoli",

default = full_name

)

Much obliged to @davis for providing design feedback here!

=> More informations about this toot | More toots from michaelchirico@fosstodon.org

Written by Michael Chirico on 2024-08-27 at 04:58

forder supports a sort of caching in many more cases -- if an index has already been computed on a table, it's reused instead of computing from scratch.

=> More informations about this toot | More toots from michaelchirico@fosstodon.org

Written by Michael Chirico on 2024-08-27 at 05:01

There's really a ton more (54 items!) but I think that's the most generally-visible stuff :)

Check out the NEWS! There may be an accompanying blog post over at the raft soon too 🤓

https://cran.r-project.org/web/packages/data.table/news/news.html

https://rdatatable-community.github.io/The-Raft/

Thanks as always for your support!

=> More informations about this toot | More toots from michaelchirico@fosstodon.org

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113032148166503844
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
422.125274 milliseconds
Gemini-to-HTML Time
1.189026 milliseconds

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