"R session aborted - R encountered a fatal error" trying to run Tutorial 1 with own data #54
Answered
by
JetteReeg
Smoellmund
asked this question in
Q&A
-
|
Hey there. So I created a simple/hypothetical raster with habitat categories and a species distribution raster that goes with it (see attachment). I tried to work these through the code of "tutorial 1" but got stuck (R gave me a fatal error and terminated the session) when I wanted to run the simulation as follows: Until then everything went fine with own raster files (loading and plotting). |
Beta Was this translation helpful? Give feedback.
Answered by
JetteReeg
Jan 28, 2025
Replies: 1 comment 1 reply
-
|
Hey,
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Smoellmund
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey,
there are two issues with your input files. The first issue is causing R to crash.
-999instead ofnan) So you would need to replace all nan strings in your files with a number (I advise to take a negative number like -999)?ImportedLandscape) but not double values (1.0 in your case). The NAs seem not to be a problem if you don't use strings for NAs.