title: Error: '\R' is an unrecognized escape in character string starting "C:\R"
body: <p>I am running Windows XP Pro and R Version 2.15.1  R is installed in the following folder:</p>
  
  <blockquote>
    <p>C:\Program Files\R\R-2.15.1</p>
  </blockquote>
  
  <p>I am trying to create a function that reads in a .csv file like so:</p>
  
  <pre><code>xxx &lt;- function(id, directory, summarize = FALSE) {
      data &lt;- read.table('C:\xxx\classes\R_Prog\specdata\data.csv')
      head(data)
  }
  </code></pre>
  
  <p>I get the error</p>
  
  <blockquote>
    <p>Error: '\R' is an unrecognized escape in character string starting "C:\R"</p>
  </blockquote>
  
  <p>Is there a problem with my directory structure / folder naming conventions?</p>