If you're not great at working in the command line (🤚) but you want to work with your files programmatically, I wrote up some examples for how to work with your file system using #rstats packages such as {fs}.
github.com/Cghlewis/data-wra…
3
23
91
This is just the post I needed today!
Do you happen to cover how to find and read in the newest version of a file that has the same name in multiple dated directories?
2
1
There are many ways: base #Rstats reads files and dirs as vectors, has file.info() + regexps, parses datetimes, ...
A few years ago I gave a (jokingly titled) talk "R for SysAdmins" showing this (using @rdatatable) at @mattgodbolt's OSOM.
dirk.eddelbuettel.com/papers…
Mar 23, 2022 · 2:37 PM UTC
2
1
7



