I recently discover a R package, called liftr package. It allows the build of pdf document (and html files, but i didn’t test it) from a Rmarkdown file. Fully integrated in RStudio, the R code is executed (and other code as well, I tried python) and results are displayed. You don’t even need to have LaTeX on your computer, since the document compilation take place in a docker image.
Installing On Ubuntu 16.04 sudo apt install docker-ce Moving images and containers More information there: linuxconfig.org/how-to-move-docker-s-default-var-lib-docker-to-another-directory-on-ubuntu-debian-linux http://alexander.holbreich.org/moving-docker-images-different-partition/ #Saving /etc/fstab sudo cp /etc/fstab /etc/fstab.$(date +%Y-%m-%d) ## get partitions UUID sudo blkid ## Open fstab sudo pluma /etc/fstab Add the following :
Data partition UUID=<UUID of the wanted partition> /media/data ext4 defaults 0 2 whereis docker # docker: /usr/bin/docker /usr/lib/docker /etc/docker /usr/share/man/man1/docker.1.gz sudo service docker stop sudo mkdir /media/data/docker ls #if existiong docker directory sudo rm -Rf docker/ sudo mkdir docker cd docker/ rsync -aqxP /var/lib/docker/ .
I’m currently working on a small part of a project for my new compagny involving VRT, Geoserver and Tomcat on a CentOS VM. Easy, you should say, not to easy when it is your first time with all those components (except for GeoServer that I tried already). So everything was new to me. Here is my notes on installing it and some configuration tips. Sorry it is in French, but I didn’t had time to translate it yet.