title: importing a CSV file
body: <p>I just started learning R which is my first programming language. I tried importing a CSV file from my system which is on my downloads in my computer using:</p>
  
  <pre><code>getwd()
  setwd("/downloads")
  statesInfo &lt;- read.csv('stateData.csv') 
  </code></pre>
  
  <p>But i keep getting the error message below.</p>
  
  <blockquote>
    <p>setwd("/downloads")
    Error in setwd("/downloads") : cannot change working directory
    statesInfo &lt;- read.csv('stateData.csv')
    Error in file(file, "rt") : cannot open the connection
    In addition: Warning message:
    In file(file, "rt") :
      cannot open file 'stateData.csv': No such file or directory.</p>
  </blockquote>
  
  <p>Could I be getting it wrong.</p>