News for hackers. Stuff that matters.
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.
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.
Re:Julia 1.6 Highlights by oxinabox on Thursday March 25, 2021 @01:08PM (#26582743)
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)
Re:Julia 1.6 Highlights by krastanov on Thursday March 25, 2021 @11:36AM (#26581558)
I might be misunderstanding your question, but this post is about Julia, not R. Julia has a pretty great per-project dependency management.
Re:Julia 1.6 Highlights by 00117 on Thursday March 25, 2021 @06:21PM (#26586321)
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...
Re:Julia 1.6 Highlights by f6v on Thursday March 25, 2021 @12:54PM (#26582566)
Doesn’t mean it’s adopted though.