title: Importing a csv into R using read.csv in Ubuntu
body: <p>I have just installed Ubuntu on my computer and I am re-running some codes that previously worked in Windows. I have copied my directories into Ubuntu with all my files. </p>
  
  <p>When I run this line of code to import a database into R, I get the following error:</p>
  
  <pre><code>Annot &lt;- read.csv("~/Documents/DATABASES/Functional_Annotations/Salar_2_Annot_light.csv", header = TRUE)
  Error in file(file, "rt") : cannot open the connection
  In addition: Warning message: In file(file, "rt") :   cannot open file
  '/home/cd46/Documents/DATABASES/Functional_Annotations/Salar_2_Annot_light.csv':
  No such file or directory
  </code></pre>
  
  <p>The code is right, hasn't changed since before. In fact if I run:</p>
  
  <pre><code>setwd("~/Documents/DATABASES/Functional_Annotations")
  </code></pre>
  
  <p>It works fine and recognize the directory. And the file it there too.</p>
  
  <p>I am not sure what this can be, does anyone have a suggestion? The only thing I have done was to switch over to Ubuntu, so I would imagine the problem would lie there.</p>