Massive performance improvements in NLSetAgentSet, NLSetPatches, NLSetPatchSet
Change in NLSetPatchSet: identifies columns in the input data.frame by name. Expects pxcor, pycor (and, in case of 3D, pzcor) columns.
NLStart(<nl.path>, ...) failed with:
Error in .jnew("nlcon/Preprocess") : java.lang.UnsupportedClassVersionError: nlcon/Preprocess : Unsupported major.minor version 51.0. This happend when using Java versions before 7. The .jar files are now compiled with support up to Java 5.
several bug fixes and changes in manual pages, code examples and tutorial
Change.log moved to NEWS.Rd. Therefore,
news() function is supported now.
NLStart is replaced by
nl.obj. In all other functions
nl.obj is now also a string instead of an reference to NetLogo. References are handled internally, now, and no global variables are created anymore.
More clear working directory handling strategy: stores the working directory active before creating the first NetLogo instance. Reset to this wd after closing the last active NetLogo instance.
all argument in
NLQuit to close/quit all open NetLogo instances.
Just a fix to fulfill CRAN policy: limit max. parallel processes in vignette parallelProcessing.Rnw to 2 core.
Update of manual pages.
Spelling corrections in parallelProcessing guide.
Small corrections due to package building warnings.
NLSetPatchSet added, especially usefull for NetLogo 3D as an equivalent to NLSetPatches, which works only with NetLogo 2D.
max.minutes added to
NLDoReportWhile. It stops the execution after a defined number of minutes (default: 10), if it is > 0.
parallelProcessing.pdf and performanceNotes.pdf moved to vignettes.
NLSetAgentSet added (may change or be deleted in future).
NetLogo 5.0 is default in NLStart (nl.version=5) –> NetLogo 5.0 is much more faster than NetLogo 4.1.x in sending values to R!
Support of NetLogo 4.0.x added (use
nl.version=40 in NLStart).
Rewrite of functions
NLGetGraph for markable speed improvements.
Default return type of
NLGetPatches is a
data.frame instead of a list.
Document "performanceNotes.pdf" added.
Document "parallelProcessing.pdf" added.
Typo in manual fixed (order of arguments in
Support for NetLogo 3D added (extra boolean argument
Better clean up at NLQuit (but this is still a problem. NetLogo offers no clean up for all threads, they just do a System.exit, which can not be used with rJava, because it will terminate the JVM, therefore also rJava and finally R as well.)
JARs compiled against Java 1.5 now instead of Java 1.6.