Learn R Programming

installr (version 0.22.0)

turn.version.to.number: Turns version to number (for a vector of values)

Description

Turns version to number (for a vector of values)

Usage

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

Run this code
# NOT RUN {
turn.version.to.number(c("2.15.2", "2.15.2"))
# }

Run the code above in your browser using DataLab