I\'m making word frequency tables with R and the preferred output format would be a JSON file. sth like { \"word\" : \"dog\", \"frequency\" : 12 } Is there any
These days I would typically use the jsonlite package.
library("jsonlite") toJSON(mydatatable, pretty = TRUE)
This turns the data table into a JSON array of key/value pair objects directly.