Table 2. Additional primitives (=NetLogo commands) of the R extension of NetLogo for debugging.
Primitive | Desciption | Example |
---|---|---|
interactiveShell | Opens the underlying R shell, if NetLogo was started from a console/shell. | ;; start the R shell: r:interactiveShell |
messageWindow | Opens a message window to display debugging messages (see startDebug and startJRIDebug). | ;; open a message window: r:messageWindow |
startDebug | Starts the debugging mode of the R extension. The results of eval and get commands will be displayed in the Console, Interactive Shell or Message Window. | ;; start the debugging mode: r:startDebug |
startJRIDebug | Starts the debugging mode of the underlying JRI library (of the rJava package). Displays the messages in the Console, Interactive Shell or Message Window. | ;; start the debugging mode of the JRI library: r:startJRIDebug |
stopDebug | Stops showing debugging messages of the R extension in the Console, Interactive Shell or Message Window. | ;;; stop showing debugging messages: r:endDebug |
stopJRIDebug | Stops showing debugging messages of the underlying JRI library in the Console, Interactive Shell or Message Window. | ;; stop showing debugging messages of the JRI library: r:endJRIDebug |