Turns version to number (for a vector of values)

turn.version.to.number(version_with_dots)

Arguments

version_with_dots

- A character vector - of the version of R (for example 2.15.2)

Value

A vector of "numbers" representing the versions (for example: 2015002). The names of the vector is the original version character.

Examples

if (FALSE) { turn.version.to.number(c("2.15.2", "2.15.2")) }