

If you want, for example, to use write.table on this ame, you have to mark thisĬolumn as class="AsIs". When you assign a NetLogo List to a column which contains nested NetLogo Lists for each row.

With the R-Extension it is possible to put a vector into a ame cell, Vector and if you would put a vector of vectors to a ame, it would be splitted into Normally, a ame cell contains only a single value.

R: eval "write.table(dataname, file='') " write file ame with vector in cells It's possible to load and save data from file directly in R. The creation of plots intoįiles is also possible. This is the prefered method!īut you can also use the standard R device, but then, you have to give R some cpu time, e.g.īy run an evalulation of sys.sleep(0.01) with a forever button. If you want to use the plot function of R, you could activate the JavaGD plot device via Please note that (as of NetLogo 6.0) these models are not included in the NetLogo models library. These models are installed with NetLogo in the "models" directory of the R extension. If your model already uses other extensions, then it already has anĮxtensions line in it, so just add r to the list.įor more information on using NetLogo extensions, see the Extensions Guide.įor examples of the usage of the R-Extension, models can be downloaded from the project repository.
