Learn R Programming

condathis (version 0.1.0)

get_sys_arch: Retrieve Operating System and CPU Architecture

Description

This function retrieves the operating system (OS) name and the CPU architecture of the current system. The output combines the OS and CPU architecture into a single string in the format "<OS>-<Architecture>".

Usage

get_sys_arch()

Arguments

Value

A character string indicating the operating system and CPU architecture, e.g., "Darwin-x86_64" or "Linux-aarch64".

Examples

Run this code
# Retrieve the system architecture
condathis::get_sys_arch()
#> [1] "Darwin-x86_64"

Run the code above in your browser using DataLab