Hi! I'm getting a very strange error now when I try to make a mesh in INLA.
This is what happened: I updated to R 4.1.0, realized INLA didn't work on there. So I went back to "R version 3.6.3 (2020-02-29)", re-installed INLA and then this error started happening (see below).
Am on macOS Big Sur Version 11.2.3.
Any help would be much appreciated!!! Thanks!
library(tidyverse)
> library(INLA)
> pts <- matrix(c(0,3,2,1,0,0,1,2,0,0,1,0), ncol=2)
>
> mesh1 <- inla.mesh.2d(pts, max.edge = c(0, 3))
dyld: Symbol not found: __ZNSt3__14__fs10filesystem8__statusERKNS1_4pathEPNS_10error_codeE
Referenced from: /usr/lib/liboah.dylib
Expected in: /Library/Frameworks/R.framework/Resources/lib/libc++.1.dylib
in /usr/lib/liboah.dylib
Error in fmesher.read(prefix, "manifold") :
File '/var/folders/73/khvg24rs6k51cztp9shc14gh0000gn/T//RtmpcMIWtO/fmesher6fd7587dcb55.manifold' does not exist.
> bnd1 <- inla.nonconvex.hull(pts)
dyld: Symbol not found: __ZNSt3__14__fs10filesystem8__statusERKNS1_4pathEPNS_10error_codeE
Referenced from: /usr/lib/liboah.dylib
Expected in: /Library/Frameworks/R.framework/Resources/lib/libc++.1.dylib
in /usr/lib/liboah.dylib
Error in fmesher.read(prefix, "manifold") :
File '/var/folders/73/khvg24rs6k51cztp9shc14gh0000gn/T//RtmpcMIWtO/fmesher6fd72ab066d6.manifold' does not exist.