Describes the R version, operating system, and language and locale settings
for the user's system. When using btw_client() or btw_app(), this
information is automatically included in the system prompt.
See also
Other sessioninfo tools:
btw_tool_sessioninfo_is_package_installed(),
btw_tool_sessioninfo_package()
Examples
btw_tool_sessioninfo_platform()
#> <btw::BtwSessionInfoToolResult>
#> @ value : chr "<system_info>\nR_VERSION: R version 4.6.1 (2026-06-24)\nOS: Ubuntu 24.04.4 LTS\nSYSTEM: x86_64, linux-gnu\nLANG"| __truncated__
#> @ error : NULL
#> @ extra :List of 8
#> .. $ r_version:: chr "R version 4.6.1 (2026-06-24)"
#> .. $ os: : chr "Ubuntu 24.04.4 LTS"
#> .. $ system: : chr "x86_64, linux-gnu"
#> .. $ language: : chr "en"
#> .. $ locale: : chr "C"
#> .. $ encoding: : chr "C.UTF-8"
#> .. $ timezone: : chr "UTC"
#> .. $ date: : chr "Thursday, July 2, 2026 (2026-07-02)"
#> .. - attr(*, "class")= chr [1:2] "platform_info" "list"
#> @ request: NULL
