View source: R/platform-info.R
platform_info | R Documentation |
Information about the current platform
platform_info()
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.
hostname
: the name of the machine known on the network, see
nodename
in base::Sys.info()
. For privacy, it is only included
if the sessioninfo.include_hostname
option is set to TRUE
.
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
quarto
: quarto version and path
Similar functions and objects in the base packages:
base::R.version.string, utils::sessionInfo()
, base::version,
base::.Platform, base::Sys.getlocale()
, base::Sys.timezone()
.
platform_info()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.