Here are some example of startup::sysinfo()[c("os", "sysname", "machine")] on different hardware:
os
sysname
machine
description
unix
Darwin
arm64
macOS on M1 chip
unix
Linux
x86_64
Linux, e.g. Ubuntu 18.04 and CentOS 7
windows
Windows
x86-64
MS Windows 10 on VirtualBox VM
windows
Windows
x86
R 32-bit on MS Windows 10 on VirtualBox VM
windows
Windows
x86-64
R on Linux Wine
windows
Windows
x86
R 32-bit on Linux Wine
This info can be used to create Renviron and Rprofile files that are processed on a specific platform, e.g. the startup package will process ~/.Rprofile.d/sysname=Darwin,machine=arm64/config.R only on a macOS machine with the M1 chip.
Help wanted
If you have access to something different, please consider sharing your info here. I'll then try to add it do the startup documentation, e.g. in the vignette, or in a separate vignette.
Here are some example of
startup::sysinfo()[c("os", "sysname", "machine")]
on different hardware:os
sysname
machine
unix
Darwin
arm64
unix
Linux
x86_64
windows
Windows
x86-64
windows
Windows
x86
windows
Windows
x86-64
windows
Windows
x86
This info can be used to create Renviron and Rprofile files that are processed on a specific platform, e.g. the startup package will process
~/.Rprofile.d/sysname=Darwin,machine=arm64/config.R
only on a macOS machine with the M1 chip.Help wanted
If you have access to something different, please consider sharing your info here. I'll then try to add it do the startup documentation, e.g. in the vignette, or in a separate vignette.