So I started seeing things on twitter about using docker to run a standard version of R and with most the libraries I use on a regular basis already installed. I gave it a shot and now I need to sort this out even more – what a great tool! In addition, if you have a group of people using R on a project it should be quite simple to state the image to use or actually provide the image of R, Rstudio, and all the packages in one place.
Every once in awhile I need to do this, create an empty raster layer that I will then put something into. However, I only do this from time to time and usually have to go digging to learn how to do it all over again.
Creating an empty raster.
This uses the raster package. To create a new raster there are a few parameters that are essential:
- The number of cells (as specified by the number of rows and columns) – remember that rasters are square even if the image stored in them is not.
Authoring
Citation Software
Zotero: Your personal research assistant. Entering grad studies and beginning many weeks of reading this has revolutionized my life.
Better Bibtex for Zotero keep an always up to date .bib file for integration with LaTeX or Rmarkdown citation.
LaTeX
I’m not totally convinced that I want to commit to LaTeX as Rmarkdown and bookdown do such nice jobs of it. That being said it is a great fallback.
I am currently working on a project that involves machine learning to predict of ecological attributes across landscapes at fine spatial resolution. Our current list is consists of 80 covariates stacked together. To make predictions across the landscape significant tiling of the raster data is needed. However, the tiling process itself takes significant time and creates a tiled dataset in the thousands of tiles… There is another way!