Re:Plan to replicate 50 high-impact cancer papers shrinks to...
by _Wintermute on Wednesday August 08, 2018 @03:23AM
(#17713827)
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.
Re:Plan to replicate 50 high-impact cancer papers shrinks to...
by nonbel on Wednesday August 08, 2018 @07:33AM
(#17714965)
Speaking of, I haven't played with R - what are its standard methods for handling dependencies? I'm particularly enamored of the pip and npm way of doing it, where you create a version-controlled artifact (requirements.txt and packages.json, respectively) that defines your dependencies. Does R not have a similar system, or do people just not use it?