Quantcast
Channel: Ensuring reproducibility in an R environment - Stack Overflow
Browsing all 10 articles
Browse latest View live

Answer by jangorecki for Ensuring reproducibility in an R environment

I would go with docker images.This is pretty convenient way to reproduce OS and all dependencies.You build an image and later can deploy it any time to docker, it will be fully configured.You can find...

View Article



Answer by Rappster for Ensuring reproducibility in an R environment

A solution might be to use S4 methods and letting R's internal dispatcher do the work for you (see example below). That way, you're somewhat "bulletproof" with respect to being able to systematically...

View Article

Answer by Iterator for Ensuring reproducibility in an R environment

This may be a late answer, but I have found it useful to create a generic wrapper like the following, especially when iterating quickly in my development of a new function:myFunction <-...

View Article

Answer by Richie Cotton for Ensuring reproducibility in an R environment

Whenever you want to freeze your code in a way that needs to be reproducible "forever", e.g., when your paper has been published, the safest way to do this is to create a virtual machine containing all...

View Article

Answer by Joris Meys for Ensuring reproducibility in an R environment

Well, ask yourself how you would do that in any other language. There's really nothing more to it than good bookkeeping I'm afraid:record version numbers of all software involvedput the code in...

View Article


Answer by Spacedman for Ensuring reproducibility in an R environment

What if a change in result is due to a change in your operating system? Perhaps Microsoft fix a bug in Windows XP for Windows 7 and then when you upgrade - all your outputs are different.If you want to...

View Article

Answer by Choens for Ensuring reproducibility in an R environment

This is indeed an important thing to think about and I think ultimately requires the institutionalization of a couple of different processes.Version Control (svn, git, bzr, cvs, etc)Unit TestsMy first...

View Article

Answer by John for Ensuring reproducibility in an R environment

This is exactly the kind of thinking that causes Microsoft to maintain bug compatibility in Excel. Rather than attempting to conform to such a request you should be doing your best to show that it's...

View Article


Answer by kmm for Ensuring reproducibility in an R environment

I'm not sure about integrating it with R, but Sumatra might be worth looking into. It appears to allow you to keep track of code and results. So if you need to go back an re-run that simulation from 4...

View Article


Ensuring reproducibility in an R environment

I work in a computational biology lab, where we have several folks working on multiple projects, mostly in R (which is what I care about for this post). In the past, people would simply develop their...

View Article
Browsing all 10 articles
Browse latest View live




Latest Images