powered by
Attempt to extract the CPU model on the current host. This is OS specific:
Linux: /proc/cpuinfo
/proc/cpuinfo
Apple: sysctl -n
sysctl -n
Solaris: Not implemented.
Windows: wmic cpu
wmic cpu
A value of NA is return if it isn't possible to obtain the CPU.
NA
get_cpu()
# NOT RUN { ## Return the machine CPU get_cpu() # }
Run the code above in your browser using DataLab