platform_info: Information about the current platform

View source: R/platform-info.R

platform_infoR Documentation

Information about the current platform

Description

Information about the current platform

Usage

platform_info()

Value

A list with elements:

  • version: the R version string.

  • os: the OS name in human readable format, see os_name().

  • system: CPU, and machine readable OS name, separated by a comma.

  • ui: the user interface, e.g. Rgui, RTerm, etc. see GUI in base::.Platform.

  • language: The current language setting. The LANGUAGE environment variable, if set, or (EN) if unset.

  • collate: Collation rule, from the current locale.

  • ctype: Native character encoding, from the current locale.

  • tz: The current time zone.

  • date: The current date.

  • rstudio: RStudio format string, only added in RStudio.

  • pandoc: pandoc version and path

See Also

Similar functions and objects in the base packages: base::R.version.string, utils::sessionInfo(), base::version, base::.Platform, base::Sys.getlocale(), base::Sys.timezone().

Examples


platform_info()


r-pkgs/sessioninfo documentation built on Nov. 5, 2023, 6:27 p.m.