This help topic is for R version 3.1.1. For the current version of R, try https://stat.ethz.ch/R-manual/R-patched/library/utils/html/winextras.html
winextras {utils}R Documentation

Get Windows Version

Description

Get the self-reported Windows version number.

Usage

win.version()

Details

win.version is an auxiliary function for bug.report which returns a character string describing the version of Windows in use.

Note

This function is only available on Microsoft Windows.

The result is based on the Windows GetVersionEx API function which reports erroneous information in Windows 8.1 and later.


[Package utils version 3.1.1 ]