This directory contains files used to run the examples in the diversitree tutorial document:

If you want to recompile the tutorial document, you will need these files placed into a directory "data". You can get all the files at once here.

To compile, run R CMD Sweave diversitree-tutorial.Rnw to create the LaTeX source file, then run pdflatex, bibtex, pdflatex and pdflatex on the file diversitree-tutorial.tex that is produced

However, because some of the examples are computationally intensive, regenerating the file takes many hours (27 hours on a 2008 MacPro). If you use cacheSweave with, subsequent compilations are very fast (< 1 min).