News for hackers. Stuff that matters.
Re:Plan to replicate 50 high-impact cancer papers shrinks to... by azernik on Tuesday August 07, 2018 @05:58PM (#17711241)
TBF, the experience I have is with physics and mechanical/civil engineering labs, where there historically hasn't been much of a reliance on R. And in any case said experience is several years out of date.

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?

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)