Creates an instance of NetLogo
NLStart
creates a new instance of NetLogo in either headless (without the Graphical User Interface) or GUI mode.- Keywords
- interface, RNetLogo, NLStart
MacOS X Java Web Start Problem. If you are using Java 1.5 on MacOS 10.4 or 10.5 you will almost certainly need to run some version of the fixes described on our How to fix Mac OS X WebStart bugs, once on each computer you run the Concord SAIL-OTrunk activities on.If you update Java on your Macintosh you will need to fix this problem again. The developer page says that the version for NetLogo 5 is still a beta, but I get the same problem if I try it with r 2.15 and earlier versions of both NetLogo and the extension. I reckon that the instructions that I'm following are for Mountain Lion, but I wonder if that is the problem. Mac OS X comes with Safari. Open Safari and set it as your default web browser under Safari/Preferences/General.) On other operating systems, you may obtain the latest Java plugin from Sun's Java site. Created with NetLogo. Download model: Rumor Mill - Networks.nlogo. Download model (updated for NetLogo v3.1.2): Rumor Mill - Networks-updated.
- NetLogo is a multi-agent programmable modeling environment. It is used by tens of thousands of students, teachers and researchers worldwide. It also powers HubNet participatory simulations. It is authored by Uri Wilensky and developed at the CCL.
- NetLogo for Mac OS X. All versions. NetLogo 6.0.4 (latest) NetLogo 5.3.1 NetLogo 5.2.1. No specific info about version 4.0. Please visit the main page of NetLogo on Software Informer. Editorial review: Read a full review. Screenshots (16) 3 awards. Video and screenshots.
Usage
Arguments
An absolute path to your NetLogo installation (the folder where the NetLogo.jar is) starting from the root. On Windows, for example, something like 'C:/Program Files/NetLogo 6.0/app'.
(optional) A boolean value: if
TRUE
, NetLogo will be started with GUI (only one instance with GUI can be created currently!). FALSE
will start NetLogo in headless mode. Java jdk for mac high sierra.(optional) A string which is used to identify the created NetLogo instance reference internally (in
.rnetlogo
environment). To refer to this instance just use the same name in the other functions of this package. If nl.obj=NULL
(default), the internal name to the reference is _nl.intern_
and is not needed to be submitted to the other functions of this package. After using NLQuit, the identical name can be used again for a new instance.(optional) A boolean value: if
TRUE
, NetLogo 3D will be started. FALSE
will start the conventional 2D NetLogo. This functionality is experimental. All RNetLogo functions should work in NetLogo 3D as they do in conventional 2D NetLogo except NLSetPatches, which is currently not implemented to work in NetLogo 3D properly.(optional) The name of the NetLogo jar file. Since NetLogo 6.0 the jar file includes the version number. Default value is netlogo-6.0.0.jar. For other version the name has to be set here.
Details
You can start multiple instances of NetLogo in headless mode and store each in another variable (using
nl.obj
) but it is not possible to start multiple instances in GUI mode. (It would result in an crash of R since there is no way to detach the Java Virtual Machine via rJava.) But there is a trick to run RNetLogo in GUI mode multiple times described in the document parallelProcessing.pdf
in directory parallelProcessing
in the installation directory of the package.Note for Mac OS users: If you want to run RNetLogo in headless mode (without GUI, i.e. setting argument
gui=FALSE
) you have to disable AWT before loading the package. Just execute Sys.setenv(NOAWT=1)
before executing library(RNetLogo)
. If you want to run RNetLogo in GUI mode you have to start it from the JGR application (see https://cran.r-project.org/package=JGR and the note at http://groups.yahoo.com/group/netlogo-users/message/14817). It can be necessary to run Sys.setenv(NOAWT=1)
before loading the JGR package and run Sys.unsetenv('NOAWT')
before starting JGR via JGR()
.Note for Linux users: If you want to run RNetLogo in GUI mode you should start RNetLogo in the JGR application (see https://cran.r-project.org/package=JGR).
Mac Os X Versions
Note for Windows 32-bit users: Starting RNetLogo (in GUI mode) on 32-bit Windows (not 64-bit Windows running in 32-bit mode) may fail in R version 2.15.2 and 2.15.3 (see description here: https://stat.ethz.ch/pipermail/r-devel/2013-January/065576.html). Math software for mac os x. The reason could be the increased C stack size in 2.15.2 and 2.15.3. If you execute
Cstack_info()
you can see how large the C stack size is. The problem seems to be resolved with 3.0.0.A workaround is to use R 2.15.1 or 3.x or to start RNetLogo from JGR (see https://cran.r-project.org/package=JGR) or RStudio (see http://www.rstudio.com/).Avoid manually changing the working directory of R, because NetLogo needs to have the working directory pointed to its installation path. As the R working directory and the Java working directory depend on each other, changing the R working directory can result in unexpected behavior of NetLogo.Therefore, you should use absolute paths for I/O processes in R instead of submitting
setwd(..)
. Note that the RNetLogo package changes the working directory automatically when loading NetLogo and changes back to the former working directory closing the last active instance of NetLogo with NLQuit
.As mentioned in
NLQuit
, it is currently not possible to quit NetLogo completely.If you want to specify options for the underlying Java Virtual Machine (JVM), like increasing the Java Heap Space for large models, execute
options(java.parameters='..')
before loading the RNetLogo package with library(RNetLogo)
or require(RNetLogo)
. For increasing the Java Heap Space it can be options(java.parameters='-Xmx1024m')
, for example. Use a vector of strings for setting multiple options, for example options(java.parameters=c('-server','-Xmx1300m'))
. See also http://ccl.northwestern.edu/netlogo/docs/faq.html#howbig and rJava manual.Mac Os X 10.11 Download Free
See the directory
examples
in the installation directory of the package for example codes to all RNetLogo functions.See Thiele (2014) (also included in directory
tutorial
in the installation directory of the package) for a step-by-step usage tutorial. Xerox phaser 7800dn driver for sierra os x.See the vignette
performanceNotes.pdf
for performance notes.Netlogo Mac Os X
See the vignette
parallelProcessing.pdf
on how to run RNetLogo on multiple processors/clusters in parallel.Value
How to make bootable cd mac os x for sierra download. No return value.
Warning
It's not possible to run multiple instances of NetLogo in GUI mode! Closing NetLogo from the NetLogo Window is blocked, because it would quit the whole R process. To close the NetLogo call
NLQuit
. If you use the headless mode you should first load a model with NLLoadModel
before executing other commands or reporters. In GUI mode you can execute commands and reporters already with the initial empty model without loading a specific one.References
Thiele, J. (2014) R Marries NetLogo: Introduction to the RNetLogo Package. Journal of Statistical Software 58(2) 1-41. http://www.jstatsoft.org/v58/i02/
See Also
Aliases
- NLStart
Examples
Community examples
API documentation
Is your Mac up to date with the latest version of the Mac operating system (macOS or OS X)? Is it using the version required by some product or feature? Which versions are earlier (older) or later (newer, more recent) than the version currently installed? To find out, learn which version is installed now.
If your macOS isn't up to date, you may be able to update to a later version.
Which macOS version is installed?
From the Apple menu in the corner of your screen, choose About This Mac. You'll see the macOS name, such as macOS Mojave, followed by its version number. If some product or feature requires you to know the build number as well, click the version number to see it.
This example shows macOS Catalina version 10.15 build 19A583.
Which macOS version is the latest?
These are all Mac operating systems, starting with the most recent. When a major new macOS is released, it gets a new name, such as macOS Catalina. And as updates that change the macOS version number become available, this article is updated to show the latest version of that macOS.
If your Mac is using an earlier version of any Mac operating system, you should install the latest Apple software updates, which can include important security updates and updates for the apps installed by macOS, such as Safari, Books, Messages, Mail, Music, Calendar, and Photos.
macOS | Latest version |
---|---|
macOS Catalina | 10.15.5 |
macOS Mojave | 10.14.6 |
macOS High Sierra | 10.13.6 |
macOS Sierra | 10.12.6 |
OS X El Capitan | 10.11.6 |
OS X Yosemite | 10.10.5 |
OS X Mavericks | 10.9.5 |
OS X Mountain Lion | 10.8.5 |
OS X Lion | 10.7.5 |
Mac OS X Snow Leopard | 10.6.8 |
Mac OS X Leopard | 10.5.8 |
Mac OS X Tiger | 10.4.11 |
Mac OS X Panther | 10.3.9 |
Mac OS X Jaguar | 10.2.8 |
Mac OS X Puma | 10.1.5 |
Mac OS X Cheetah | 10.0.4 |
Learn more
Netlogo For Mac Os X 10 13 Download
- Always use the macOS that came with your Mac, or a compatible newer version.
- Learn how to reinstall macOS from macOS Recovery.