Comments (1)
It seems to be the path in function gama_version
within zzz.R
So change from this:
gama_version <- function(path) {
v_info <- readLines(
paste0(path, "/Contents/Eclipse/Configuration/config.ini'"))
v_info <- v_info[10]
v_info <- gsub("[[:alpha:]]|=", "", v_info)
v_info <- as.numeric(v_info)
}
to:
gama_version <- function(path) {
os <- paste0(get_os())
subpath <- ifelse(os == "Darwin", "/Contents/Eclipse", "")
v_info <- readLines(
paste0(path, "/configuration/config.ini"))
v_info <- v_info[10]
v_info <- gsub("[[:alpha:]]|=", "", v_info)
v_info <- as.numeric(v_info)
}
should solve it.
I'm also curious it's working for MacOS since it's a lowercase "C" in "configuration" folder name (no case sensitive?).
Also, the function .onAttach
cannot check version > 1.8. The change I proposed in gama_version()
does not solve it. The path returned by pehaps_path <- gama_local_distrib_path()
is not the good path for gama_version()
.
from gamar.
Related Issues (20)
- Comparing R/gamar against other R packages HOT 1
- Failed to install `GAMA` on Windows10 HOT 5
- Add note about validate gaml file before using rama HOT 2
- fail to run headless HOT 3
- Update documentation
- Headless version HOT 3
- headless to run 'batch' experiment HOT 2
- Modify script to build the website HOT 3
- add cleaning script for files/folders generated during tests
- inconsistent behaviors of model() and `model<-`()
- Add map tools if outputs are coordinates
- Channel errors from gama headless
- [WEBSITE] Front page is not in correct HTTPS
- RNetlogo / NLstart doesn't do anything
- Incomplete tutorial
- read_gaml_experiment errors when calling java from R
- add codecov badge
- Failed to install gamar on my mac
- Add a glossary in the documentation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gamar.