R ERROR- Error in file(file, "rt") : cannot open the connection
Hi, You don't show us your code, and you really should, but most likely you did not put the file where you thought you did, or there's a typo in the name. Using file.choose() may help. Also, I think it's bad practice to put user files in the R library directory. You should make a working directory in your own workspace. Sarah
On Thu, Aug 28, 2014 at 1:41 AM, Girija Kalyani <smileismystyl at gmail.com> wrote:
Dear R Group, I have an species occurence file stored in dismo/ex/abc.csv. When i read the file, it shows error. Error in file(file, "rt") : cannot open the connection In addition: Warning message: In file(file, "rt") : cannot open file 'G:/Software/R-3.1.1/library/dismo/ex/occurence.csv': No such file or directory What could b the reason, it shows no such file in directory, but i saved my file in the place where i have mentioned in d code. Can someone help me out with this? Thanx in advanvce