title: Read a Text File into R
body: <p>I apologize if this has been asked previously, but I haven't been able to find an example online or elsewhere.</p>
  
  <p>I have very dirty data file in a text file (it may be JSON).  I want to analyze the data in R, and since I am still new to the language, I want to read in the raw data and manipulate as needed from there.  </p>
  
  <p>How would I go about reading in JSON from a text file on my machine?  Additionally, if it isn't JSON, how can I read in the raw data as is (not parsed into columns, etc.) so I can go ahead and figure out how to parse it as needed?</p>
  
  <p>Thanks in advance!</p>