Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


fame (version 2.21.1)

osUtilities: Operating System Utilities

Description

user returns the user id of the current user.

runningLinux is shorthand for Sys.info()["sysname"] == "Linux".

runningWindows is shorthand for .Platform$OS.type == "windows".

Usage

user()
runningLinux()
runningWindows()

Arguments