4 ms·
it's clever but is it more readable? these sorts of discussions, people who write blog posts about 'library' vs. 'require', kind of feel like 'R smell'. would
by RockyMcNuts 11y ago
it's clever but is it more readable?
these sorts of discussions, people who write blog posts about 'library' vs. 'require', kind of feel like 'R smell'.
wouldn't it be better for a language to just take a list of libraries for import, maybe with a readable syntax?
so... have we got to where Julia can re-use R packages yet?
- dandermotj 11y agoI understand where you're coming from, but these two lines are exactly 'taking a list of libraries for import'. packages is a character vector of package names, lapply is by definition 'list apply'. We're taking a list of packages and applying the library function on them. This seems complicated if you're not used to it but R is a functional language. Approaching R from this perspective makes it a powerful, flexible.
- tanlermin 11y agoCheck out rcall.jl