This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# data-cache.R | |
# provides the get_data() function that allows efficient loading of data that | |
# is time-consuming to read from disk, transform or clean. We have several | |
# data sources (ascii gis grids, iButton time series, etc) which take | |
# considerable porcessing time to load and transform to a useful format. But | |
# we also only want to store the raw data and code in git, not the | |
# intermediate useful forms. So the solution is to store the intermediate forms | |
# as .rds objects in a directory ignored by git. Then if those rds files do not | |
# exist already (and, optionally, if the source data is newer than the rds |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Call org-protocol capture from thunderbird and create link using thunderlink | |
============================================================================ | |
This works by setting up a custom button in Thunderbird calling org-protocol:// links | |
and then inserting thunderlink::// links in the org-mode document. | |
Thunderbird setup | |
----------------- | |
1. Install Custom Buttons add-on for Thunderbird | |
http://custombuttons.mozdev.org/ | |
2. Install thunderlink for thunderbird |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## R code to calculate bark thickness distributions from a digitized contour | |
## D.W. Schwilk 2013 | |
## (See Adams and Jackson 1995 for description of the method) | |
SSPAR = 0.7 | |
library(ggplot2) | |
library(plyr) | |
library(grid) |