Write a backend state to JSON
Examples
state <- xgeo_state(matrix(c(1, -1, 2, 0), nrow = 2))
path <- tempfile(fileext = ".json")
write_xgeo_state(state, path)
file.exists(path)
#> [1] TRUE
Write a backend state to JSON
state <- xgeo_state(matrix(c(1, -1, 2, 0), nrow = 2))
path <- tempfile(fileext = ".json")
write_xgeo_state(state, path)
file.exists(path)
#> [1] TRUE