r script save json file code example
Example 1: how to write a json in r
write(jsonData, "output.json")
Example 2: how to write a json in r
jsonData <- toJSON(list1)
write(jsonData, "output.json")
jsonData <- toJSON(list1)