find_netlogo_home() attempts to locate the installation directory of
NetLogo on the user's system.
Value
A character string specifying the path to the
NetLogo installation directory. Returns NA if no
installation can be found.
Details
The function uses the following search order:
Checks the
NETLOGO_HOMEenvironment variable. If set and the directory exists, returns that path.If the environment variable is not set or the directory does not exist, searches through common installation paths for directories containing "NetLogo" (case-insensitive) in their name. If multiple NetLogo installations are found in the same directory, the last one (alphabetically) is returned.
See also
Other system functions:
find_netlogo_console(),
find_netlogo_version()