version_r_major_minor: Get R major and minor version

Description Usage Arguments

View source: R/rprofile.R

Description

Gets the R major and minor version without the patch version (e.g. returns the numeric version "3.5" if the current R version is "3.5.1").

Usage

1

Arguments

r

Numeric R version. Defaults to base::getRversion().


EricEdwardBryant/rprofile documentation built on Dec. 7, 2019, 12:30 a.m.