os | R Documentation |
Determine the current operating system as well as provide flags to indicate whether the operating system is a Mac/Windows/Linux.
get_os()
get_R_version()
get_R_version_age(units = c("years", "months", "weeks", "days"), rounding = 2)
get_latest_CRAN_version()
get_system_python()
is.os_mac()
is.os_win()
is.os_lnx()
is.os_unx()
is.os_x64()
is.os_arm()
is.R_x64()
is.R_revo()
is.RStudio()
is.http_available()
units |
character - how do you want to display the age? e.g. years or months? |
rounding |
integer - how many decimal points do you want to see. e.g. 0.25 years |
Ben Wiseman, benjamin.wiseman@kornferry.com
Steven Nydick, steven.nydick@kornferry.com
# determine operating system
get_os()
# do we have a particular operating system
is.os_mac()
is.os_win()
is.os_lnx()
is.os_unx()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.