Re:Julia 1.6 Highlights
by f6v on Thursday March 25, 2021 @11:33AM
(#26581521)
Is there a per-project way to manage dependencies yet? I find global package installation to be the biggest weakness of all the R projects out there. Anaconda can help, but it’s not widely used for R projects. And Docker... well, don’t get me started.
[ Parent
| on HN ]
Re:Julia 1.6 Highlights
by adgjlsfhk1 on Thursday March 25, 2021 @11:36AM
(#26581553)
Yeah. Julia's had that since (at least) 1.0. Environments are built-in, and you specify project dependencies in a Projects.toml file https://pkgdocs.julialang.org/v1/toml-files/.
Re:Julia 1.6 Highlights
by staticfloat on Thursday March 25, 2021 @11:54AM
(#26581821)
Small nitpick; its Project.toml (or JuliaProject.toml, to avoid name clashes) not Projects.toml
Re:Julia 1.6 Highlights
by UncleOxidant on Thursday March 25, 2021 @12:41PM
(#26582420)
Or you can activate a local project in a directory, add packages and the Project.toml gets created for you.
Since 0.7 (which was 1.0 with deprecations)
In julia 0.6 and before it was exactly as bad as described.
(though there were things like Playground.jl to kind of work around it)
I might be misunderstanding your question, but this post is about Julia, not R. Julia has a pretty great per-project dependency management.
Julia is a competitor of R, hence the comparison.
Re:Julia 1.6 Highlights
by eigenspace on Thursday March 25, 2021 @11:35AM
(#26581544)
Yes, absolutely. Julia has very strong per-project dependency tracking and reproducibility.
Re:Julia 1.6 Highlights
by psychometry on Thursday March 25, 2021 @11:37AM
(#26581581)
renv is how R projects do per-package dependency management. Before renv there was packrat. This has been a solved problem for years now...