nicolaspayette / netlogo.jl Goto Github PK
View Code? Open in Web Editor NEWA Julia package for controlling NetLogo
License: MIT License
A Julia package for controlling NetLogo
License: MIT License
...or make the package support backslashes...
(See conversation around https://gitter.im/NetLogo/NetLogo?at=5b603402966e803950311d3e)
When I run the first line of code (I am using vscode
editor):
dirname(@__FILE__) โ LOAD_PATH && push!(LOAD_PATH, dirname(@__FILE__))
I get the following error:
ERROR: MethodError: no method matching dirname(::Void)
Closest candidates are:
dirname(::AbstractString) at path.jl:146
Stacktrace:
[1] eval(::Module, ::Any) at ./boot.jl:235
I want to run demo.jl
but first it is necessary to Pkg.add("NetLogo.jl")
. How can it be done since NetLogo.jl
is not registered.
I was asked to install JRE legacy code on my Mac. I did it.
But I had to change one line of your code (NetLogo.init) because the folder containing NetLogo has a different path and I got an error. Please see what is the mistake I did:
Main> using NetLogo
Loaded /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/server/libjvm.dylib
Main> NetLogo.init("/Applications/Netlogo 6.0.4/Netlogo 6.0.4.app")
signal (11): Segmentation fault: 11
while loading no file, in expression starting on line 0
unknown function (ip: 0x11dad72b3)
Allocations: 4188932 (Pool: 4187476; Big: 1456); GC: 7
See #3 (comment).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.