449 Followers
92 Following
13 Posts
senior software engineer @netflix | ex @rstudio #tidyverse | ex @bioconductor | interests #rstats + #nba 👨‍👩‍👧‍👧 + 🐕 | He/him

wake up #rstats new object system just dropped

https://cran.r-project.org/package=S7

S7: An Object Oriented System Meant to Become a Successor to S3 and S4

A new object oriented programming system designed to be a successor to S3 and S4. It includes formal class, generic, and method specification, and a limited form of multiple dispatch. It has been designed and implemented collaboratively by the R Consortium Object-Oriented Programming Working Group, which includes representatives from R-Core, 'Bioconductor', 'Posit'/'tidyverse', and the wider R community.

While I dig knowing some base R, I do increasingly find myself using {fs} for anything to do with file manipulation.

The fact that filenames in the console display in different colours according to whether they are directories / files /different file types is a real boon.

It offers fine grained control over the detail you can determine about your files, and if you want to purrrr::walk() over them and modify properties, you can do that too.

Working with files?
For less {ffs}, use {fs}

Polars hit the big time! https://www.pola.rs/posts/company-announcement/

The #RStats pkg is pretty slick: https://rpolars.github.io/

And, if you're in the {tidyverse} tribe, {tidypolars} has your back: https://github.com/etiennebacher/tidypolars

Company announcement

We are excited to announce the start of company that will build around Polars, enabling data processing at any scale.

This thread (https://discuss.python.org/t/formalize-the-concept-of-soft-deprecation-dont-schedule-removal-in-pep-387-backwards-compatibility-policy/27957/84 ) discussing the new “soft depreciation” in python is an interesting read after having conversations about very similar ideas and coming up with ‘superseded’ a few years ago in the tidyverse (this is eventually brought up and linked in the discussion)
Formalize the concept of "soft deprecation" (don't schedule removal) in PEP 387 "Backwards Compatibility Policy"

Over the last years, IMO the quality of instructions to get rid of deprecated and removed functions improved in What’s New In Python documents. Sure, there is always room for enhancement, and contributions are welcomed 🙂 Recently, I enhanced imp removal docs (Python 3.12) to provide recipes to replace removed APIs. The most difficult part is to provide a solution working on old and new Python versions. If possible, a solution for that should always be provided.

Discussions on Python.org

Check out this cool elevation map of the contiguous US

https://www.reddit.com/r/dataisbeautiful/comments/jslbn9/us_elevation_tiles_oc/
Fourteenth in a 🧵 of #2022TopToots

US Elevation Tiles [OC]

Posted in r/dataisbeautiful by u/newishtodc • 88,031 points and 2,149 comments

reddit

This is a perfect example of why ChatGPT can be dangerous to rely on.

The answer sounds extremely convincing and even includes extra details that also sound correct and increase your confidence in the answer.

But it is actually completely fabricated, the rlang package doesn't even have a function named `call()`.