Learn R Programming

ami (version 0.1.1)

using_cpu: Processor Checks

Description

using_cpu() checks whether the machine uses the given type of processor or not.

using_x86_cpu() checks whether the machine uses an x86 processor

using_arm_cpu() checks whether the machine uses an ARM-based processor

Usage

using_cpu(arch = c("arm", "x86"))

using_x86_cpu()

using_arm_cpu()

Value

A logical value

Arguments

arch

CPU architecture name. Either "arm" or "x86".

Examples

Run this code
using_arm_cpu()
using_x86_cpu()
using_arm_cpu()

Run the code above in your browser using DataLab