Installing R and TreeSearch

Martin R. Smith


TreeSearch is an R package that allows parsimony search on morphological datasets.


Simple installation

To use TreeSearch you will first need to install R. RStudio (overview) is a popular front-end that makes several of R’s features easier to use.

The TreeSearch package can be installed as any other package. To get the latest stable version from CRAN, type

into the R (or RStudio) command line.

For advanced users

To get the latest development version from GitHub, type

You’ll probably need to install Rtools before installing from the GitHub source code, which may be complicated.

Once installed, load the inapplicable package into R using

What next?

You might want to: