dplR
is a package for R that performs tree-ring analyses such as detrending, chronology building, and crossdating. dplR
is part of OpenDendro
which has Python implementations of many of the dplR
functions.
The latest, stable, release version of dplR
can be installed from The Comprehensive R Archive Network (CRAN) from the R prompt:
install.packages("dplR")
CRAN releases of dplR are relatively infrequent. However, the development version of dplR
is available here as source code and as binaries. Most users who want the development version are best off getting it via r-universe
from the R prompt:
install.packages("dplR", repos = "https://andybunn.r-universe.dev/")
Alternatively, the development version can be installed from the source code with the devtools
package.
devtools::install_github("andybunn/dplR")
This should be straightforward for Linux users (if any still exist) but because dplR
includes both C and Fortran code, you will need the appropriate compilers installed on your system to build from source. Configuring these is relatively easy for Mac and less so for Windows. Unless there is a good reason to want to build from source (e.g., you are a geek or a developer) it's more typical to install a binary.
New users of dplR can begin by working with the introductory chapters in Learning to Love dplR which contains instructional material for using dplR
.
Some dendro tasks might be done more easily interactively. As such, we have two modest apps using Shiny and dplR
as the back-end.