extrema was missing on RDotNet