Elektrine lite

← Feed

@pvanheus@mstdn.science

Post #2273819

2026-05-07 19:41 UTC

@eliocamp@mastodon.social sorry, can you explain why the special purpose R function is a good idea? Outside of the tidyverse pipe logic, my R code ends up being full special functions, many of which don't seem to follow consistent naming conventions.

Replies (1)

  • @eliocamp@mastodon.social 2026-05-07 22:38

    @pvanheus@mstdn.science the list.files() is the same as os.listdir() function in python. Except that can return full paths with an argument, obviating the need for using for loops or convoluted list comprehension expressions to join back the basedir.

    Open ##2273820