4 ms·
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 c
by f6v 6y ago
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.
- eigenspace 6y agoYes, absolutely. Julia has very strong per-project dependency tracking and reproducibility.
- adgjlsfhk1 6y agoYeah. 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/ https://pkgdocs.julialang.org/v1/toml-files/.
- UncleOxidant 6y agoOr you can activate a local project in a directory, add packages and the Project.toml gets created for you.
- staticfloat 6y agoSmall nitpick; its Project.toml (or JuliaProject.toml, to avoid name clashes) not Projects.toml
- oxinabox 6y agoSince 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)
- krastanov 6y agoI might be misunderstanding your question, but this post is about Julia, not R. Julia has a pretty great per-project dependency management.
- 00117 6y agoJulia is a competitor of R, hence the comparison.
- psychometry 6y agorenv is how R projects do per-package dependency management. Before renv there was packrat. This has been a solved problem for years now...
- f6v 6y agoDoesn’t mean it’s adopted though.