NLCommand: Executes a command in the referenced NetLogo instance.
Description
NLCommand executes a NetLogo command (submitted as a string)
in the (submitted) NetLogo instance.
Usage
NLCommand(..., nl.obj=NULL)
Arguments
...
An undefined number of strings with the NetLogo command(s) to be executed.
Vectors, lists and data.frames will be represented as NetLogo lists. To set a NetLogo lists you can write 'set mylist',c(1,2,3)
if the current NetLogo model kn
nl.obj
(optional) A reference to a NetLogo instance created with NLStart.
Value
No return value.
Details
The command can be anything which can be submitted from the NetLogo Command Center.
A command has no return value! If you want to return a value from NetLogo use NLReport and other Report functions.