View source: R/download_netlogo.R
| util_get_mac_arch | R Documentation |
Reports which macOS architecture a NetLogo disk image should be downloaded for
util_get_mac_arch()
Under Rosetta, R reports x86_64 even on Apple Silicon, so the hardware
is asked directly via sysctl hw.optional.arm64 in that case. Pass
arch to download_netlogo to override the result, for
example to fetch an image for a different machine.
"aarch64" on Apple Silicon, "x86_64" otherwise
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.