a <- with(ud_units, 1:3 * m/s)
b <- with(ud_units, 1:3 * m/s)
a + b
a * b
a / b
a <- make_unit("kg m-3") # not understood by R as a division, but understood by udunits2
b <- with(ud_units, 1 * kg/m/m/m)
a + b
Run the code above in your browser using DataLab