Description Usage Details Value Warning Note See Also Examples
This function creates an informative machine summary that can be used to characterize a machine.
1 |
The function gives the nodename, the username, the OS name, the OS release, the CPU model name and RAM (in gigabytes).
Returns a string.
options(warn=-1)
has been used inside the code; otherwise, it gives "NAs introduced by coercion".
benchmarkme::get_ram()
returns "NA B" for Windows 10. So, a windows specific workaround has been used in it viz. sum(as.numeric(system('wmic MemoryChip get Capacity',intern=TRUE)),na.rm=T)/1024^3
to get the RAM size in gigabytes.
Sys.info
, get_ram
, get_cpu
, system
1 2 | machid <- machineId()
machid
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.