News for hackers. Stuff that matters.
Re:Generalizing Support for Functional OOP in R by int_19h on Tuesday May 28, 2024 @10:22PM (#40507743)
In modern idiomatic Python, you should really be using `pathlib` and `io`, not `os`.
Re:Generalizing Support for Functional OOP in R by orhmeh09 on Wednesday May 29, 2024 @02:35PM (#40515218)
Yeah, you're absolutely right. The `os` methods are closest to the base R file operations and those in `pathlib` are closest to `fs` (which is a third-party library for R that requires installation).