Saving and loading the settings
JSON snippet
library(RJSONIO)
library("rjson")
list1 <- vector(mode="list", length=2)
list1[[1]] <- c("a", "b", "c")
list1[[2]] <- c(1, 2, 3)
exportJson <- toJSON(list1)
write(exportJson, "D:\\tempdat\\test.json")
json_data <- fromJSON(file="D:\\tempdat\\test.json")
print(json_data)
Edited by Aliaksandr Halavatyi