Perform nonparametric Bayesian analysis using Dirichlet processes without the need to program the inference algorithms. The dirichletprocess R package performs nonparametric Bayesian analysis using Dirichlet processes without the need to program the inference algorithms. The package can be found on CRAN and is written and maintained by Dr. Gordon Ross. The package allows to utilise included pre-built models or specify custom models and allow the 'dirichletprocess' package to handle the Markov chain Monte Carlo sampling. The Dirichlet process objects can act as building blocks for a variety of statistical models including and not limited to: density estimation, clustering and the specification of prior distributions in hierarchical models. This article was published on 2025-04-22