[R] R ERROR- Error in file(file, "rt") : cannot open the connection
Sarah Goslee
sarah.goslee at gmail.com
Thu Aug 28 14:44:25 CEST 2014
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
>
--
Sarah Gosle
http://www.stringpage.com
http://www.sarahgoslee.com
http://www.functionaldiversity.org
More information about the R-help
mailing list