Hacker News new | ask | show | jobs
by tylermw 434 days ago
Funny you mention namespacing: R 4.5.0 was just released today with the new `use()` function, which allows you import just what you need instead of clobbering your global namespace, equivalent to python’s `from x import y` syntax.

e.g. avoid dplyr overriding base::filter

use(“dplyr”, c(“mutate”, “summarize”))

1 comments

The release notes say:

    (Actually already available since R 4.4.0.)