title: Reading strings that contain whitespace into R from tab delimited .txt file
body: <p>I have a tab delimited text file which contains string names that include whitespace. It is the output of a python routine. The text file looks like this, with hidden '\t' characters. </p>
  
  <pre><code>Mother's Day    Breakfast in Bed    Breakfast in Bed    Arkadia Tea Chai Spice 240g 6.69    False
  Mother's Day    Breakfast in Bed    Breakfast in Bed    Coles Crumpets 6 pack   2.29    False
  Mother's Day    Entertainment   Entertainment   4 Ingredients Book 1 by Kim McCosker &amp; Rachael Bermingham 1 each    14.00   False
  Pantry  Baking  Cake Mix    White Wings Red Velvet Cake 425g    4.61    False
  </code></pre>
  
  <p>As the file is tab delimited, excel - for example - recognises that there are six columns - which is as i desire.  </p>
  
  <p>I wish for it to be in a table in R that has six columns, with the columns treated as factors.  </p>
  
  <p>I have read the docs, and it seems that specifying the delimiter ought to work -- however i cannot get this the following to work: </p>
  
  <pre><code>fullSurvey &lt;- read.table(file="C:/1.txt", check.names=FALSE, header=FALSE, sep="\t", stringsAsFactors=TRUE)
  </code></pre>
  
  <p>it returns: </p>
  
  <pre><code>Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings,  : 
  line 2 did not have 15 elements
  </code></pre>
  
  <p>Is this possible in R? </p>