download_netlogo: Download NetLogo

View source: R/download_netlogo.R

download_netlogoR Documentation

Download NetLogo

Description

Auxiliary function to download NetLogo

Usage

download_netlogo(to, version, os = NA, extract = FALSE)

Arguments

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 (util_get_os())

extract

TRUE/FALSE, if TRUE downloaded archive is extracted to subfolder of to (only unix)

Details

Retrieve supported Versions for Download and Usage (parameter version): supported_netlogo_versions()

Examples

## Not run: 
dlpath <- tempdir()  # adjust path to your needs
try(download_netlogo(dlpath, "6.0.3"))

## End(Not run)


nlrx documentation built on May 31, 2023, 8:34 p.m.