title: How to import files into R?
body: <p>I'm a new user to R, sorry if my question is too basic.
  I've installed  the newest version of R on windows 7 and as a practice, i tried to open a .txt file using </p>
  
  <pre><code>students&lt;-read.table("students.txt",header=T,sep="\t")
  </code></pre>
  
  <p>but there's always an error message as follows:</p>
  
  <pre><code>Error in file(file, "rt") : cannot open the connection
  In addition: Warning message:
  In file(file, "rt") :
    cannot open file 'students.txt': No such file or directory
  </code></pre>
  
  <p>I've already changed the directory to where the students.txt resides; but it just doesn't work. Please help!</p>
  
  <p>Thank you very much in advance if anyone can help me solve the problem.</p>