compareRVersion {svMisc}R Documentation

Compare current R version with a specified one

Description

Determine if R is older (return -1), or not (return 1) than a given version number.

Usage

    compareRVersion(version)

Arguments

version A string defining the version, like '2.0' or '1.9.1'

Value

-1 if R is older, 1 otherwise.

Author(s)

Philippe Grosjean <phgrosjean@sciviews.org>

See Also

isSDI, isWin

Examples

        compareRVersion("2.0")

[Package svMisc version 0.9-5 Index]