View source: R/download_netlogo.R
download_netlogo | R Documentation |
Auxiliary function to download NetLogo
download_netlogo(to, version, os = NA, extract = FALSE)
to |
Path to folder where the downloaded file is saved. |
version |
Character string naming which NetLogo Version to download (see Details) |
os |
operation system ("win", "mac", "unix") decides which version of netlogo (msi, dmg, tgz) is downloaded.
If set to NA (default) os will be detected automatically ( |
extract |
TRUE/FALSE, if TRUE downloaded archive is extracted to subfolder of |
Retrieve supported Versions for Download and Usage (parameter version
):
supported_netlogo_versions()
## Not run:
dlpath <- tempdir() # adjust path to your needs
try(download_netlogo(dlpath, "6.0.3"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.