Hi,
[sorry, edit to post, I fixed the typo in the Dockerfile. I’ll leave the post here though as a reminder of my poor editing skills. If you are curious, I’d be happy to get comments on the approach.]
I’m writing a review for a statistical journal about my work. I am using knitr, and the main complication is that I need to install a couple of packages that I have locally (rather than on CRAN). I saw Carl’s arxiv paper about using docker, so thought I’d give that a try so that a user would simply need to do:
docker run -p 49000:8787 -d sje30/eglen2015
and then connect to the rstudio instance that this runs. (The above should work, I have the package on Docker Hub and the package source is on https://github.com/sje30/eglen2015).
It mostly seems to work, except that the “eglen2015” package isn’t available in the R session; i.e. the following doesn’t work [edit: it does now[:
require(eglen2015)
vignette("eglen2015")
Sorry if this is the wrong place to ask! Otherwise, I’d appreciate any comments on this approach. (as to the content of the paper, I intend to work on that this week.)
Thanks,
Stephen