2 ms·
R isn't fantastic for handling dependencies. If your code is bundled up as a package then you can specify version numbers for your dependencies, but I don't kno
by _Wintermute 8y ago
R isn't fantastic for handling dependencies. If your code is bundled up as a package then you can specify version numbers for your dependencies, but I don't know of any equivalent to `pip freeze` to actually list these. Installing anything other than the latest version of a package is a bit of a pain, and setting up environments for separate projects is pretty much unheard of.
I'm a bit bitter about the whole "writing reproducible code in R", as I'm currently wasting a lot of time trying to get R code I wrote at the start of my PhD to run again now I'm writing up.
- nonbel 8y agoTheres tools for this: https://rstudio.github.io/packrat/ https://rstudio.github.io/packrat/ https://stackoverflow.com/questions/43018752/version-control-alternatives-to-packrat https://stackoverflow.com/questions/43018752/version-control...