You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running into a popup window error that says R has encountered a 'fatal error' and the session is being aborted when I run maxent()
I've successfully ran the function with the same data before with no issues. R studio and R, as well as Java, are updated. When I run my script in base R rather than R studio in debug mode, I get this error message:
I solved this issue after installing an old version of RStudio( v2022.07.2 Build 576). I am using a Macbook Air M1 with R v4.4. It solved it with the 'predicts' package.
FYI. This issue occurred when trying to run maxent() on the latest RStudio version. I could run the same code on R GUI or from the terminal without problems.
I'm running into a popup window error that says R has encountered a 'fatal error' and the session is being aborted when I run maxent()
I've successfully ran the function with the same data before with no issues. R studio and R, as well as Java, are updated. When I run my script in base R rather than R studio in debug mode, I get this error message:
Loading required namespace: rJava
exiting from: maxent(silent = TRUE)
*** caught segfault ***
address 0xfffffffffffffff0, cause 'invalid permissions'
Traceback:
1: rJava::.jcall(mxe, "S", "fit", c("autorun", "-e", afn, "-o", dirout, "-s", pfn, args), rJava::.jarray(factors))
2: .local(x, p, ...)
3: maxent(x, p, ...)
4: maxent(x, p, ...)
5: .local(x, p, ...)
6: maxent(x = predictors_in_proj, p = occurrences_in, a = NULL, factors = "landcover_cropped", args = c("betamultiplier=1"))
7: maxent(x = predictors_in_proj, p = occurrences_in, a = NULL, factors = "landcover_cropped", args = c("betamultiplier=1"))
8: eval(ei, envir)
9: eval(ei, envir)
10: withVisible(eval(ei, envir))
11: source("/Users/klairetrhodes/Desktop/Thesis/projectedmodel_r.R")
Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace
Any advice appreciated. Thank you.
The text was updated successfully, but these errors were encountered: