natcpp: Fast C++ Primitives for the 'NeuroAnatomy Toolbox'

Fast functions implemented in C++ via 'Rcpp' to support the 'NeuroAnatomy Toolbox' ('nat') ecosystem. These functions provide large speed-ups for basic manipulation of neuronal skeletons over pure R functions found in the 'nat' package. The expectation is that end users will not use this package directly, but instead the 'nat' package will automatically use routines from this package when it is available to enable large performance gains.

Package details

AuthorGregory Jefferis [aut, cre] (ORCID: <https://orcid.org/0000-0002-0587-9355>), libigl contributors [ctb, cph] (bundled libigl fast winding number code (MPL-2.0); see src/vendor/README.md)
MaintainerGregory Jefferis <jefferis@gmail.com>
LicenseGPL (>= 3)
Version0.3.2
URL https://github.com/natverse/natcpp  https://natverse.org/natcpp/ 
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("natcpp")

Try the natcpp package in your browser

Any scripts or data that you put into this service are public.

natcpp documentation built on Sept. 26, 2026, 9:06 a.m.