title: How can I parse CSV data from a character vector to extract a data frame?
body: <p>The read.table and read.csv functions in R are used to parse a file or URL containing delimited data and produce an R data frame.  However, I already have a character vector that contains the CSV delimited data (using comma and \n as column and record delimiters), so I don't need to read it from a file or URL.  How can I pass this character vector into <code>read.table</code>, <code>read.csv</code>, or <code>scan()</code> without writing it to a file on disk first and reading it back in?  I realize that writing it to disk is possible, but I am looking for a solution that does not require this needless roundtrip and can read data from the character vector directly.</p>