Measurement Units for R Vectors

Support for measurement units in R vectors; automatic propagation, conversion, derivation and simplification of units; raising errors in case of unit incompatibility. Compatible with the difftime class. Uses the UNIDATA udunits library and unit database for unit conversion and compatibility checking.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.4-5 by Edzer Pebesma, 2 months ago

Report a bug at

Browse source code at

Authors: Edzer Pebesma [aut, cre], Thomas Mailund [aut]

Documentation:   PDF Manual  

GPL-2 license

Imports udunits2

Suggests NISTunits, measurements, xml2, tibble, knitr, testthat, covr, ggforce, magrittr

Imported by ggforce, sf, tidycensus, vein.

Suggested by constants.

See at CRAN