Learn R Programming

utils (version 3.6.0)

winextras: Get Windows Version

Description

Get the self-reported Microsoft Windows version number.

Usage

win.version()

Arguments

Value

A character string describing the version of Windows reported to be in use.

Details

win.version is an auxiliary function for sessionInfo and bug.report.

Examples

Run this code
# NOT RUN {
if(.Platform$OS.type == "windows")
   print(win.version())
# }

Run the code above in your browser using DataLab