Skip to contents

find_netlogo_home() attempts to locate the installation directory of NetLogo on the user's system.

It first checks the NETLOGO_HOME environment variable. If this variable is not set or the directory does not exist, it searches through a list of common installation paths for NetLogo.

Usage

find_netlogo_home()

Value

A character string specifying the path to the NetLogo installation directory. If the directory cannot be found, an empty string is returned.

Examples

if (FALSE) { # \dontrun{
  find_netlogo_home()
} # }