by RockyMcNuts · 10y ago · 0 comments
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?
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.