I have been using RNetLogo with NetLogo 5.2.1 without troubles. Now I am using NetLogo 5.3 and I get this error:
> library(RNetLogo)
> nl.path <- \
For NetLogo version 5.3.1 the following works if you want to start NetLogo up in headless mode from R on a Mac:
First, before loading the RNetLogo library, execute
Sys.setenv(NOAWT=1)
Then, execute the following:
library(RNetLogo)
setwd("/Applications/NetLogo 5.3.1/Java")
nl.path <- getwd()
NLStart(nl.path, gui = FALSE)