Information about the current platform

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.

See also

Examples

platform_info()
#> setting value #> version R version 3.6.2 (2019-12-12) #> os Ubuntu 18.04.4 LTS #> system x86_64, linux-gnu #> ui X11 #> language (EN) #> collate en_US.UTF-8 #> ctype en_US.UTF-8 #> tz America/New_York #> date 2020-03-11