title: Is it possible to write a table to a file in JSON format in R?
body: <p>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 way to save the table directly into this format? I've been using the write.csv() function and convert the output into JSON but this is very complicated and time consuming.</p>