We cannot help you. You claim to have set the working directory but cannot find
the file you expect to be there. Either you have failed to set the directory
correctly, or the file is not where you think it is... and since we do not have
access to your computer we have no way to tell you which case is true.
You can, though. Use the getwd() function to confirm your working directory, and
use the list.files function to confirm whether your file is there.
Please follow the guidance in the Posting Guide next time you post, including
using plain text email and a reproducible example.
---------------------------------------------------------------------------
Jeff Newmiller The ..... ..... Go Live...
DCN:<jdnewmil at dcn.davis.ca.us> Basics: ##.#. ##.#. Live
Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O#. #.O#. with
/Software/Embedded Controllers) .OO#. .OO#. rocks...1k
---------------------------------------------------------------------------
Sent from my phone. Please excuse my brevity.
On March 18, 2014 7:09:31 AM PDT, anisha honey <anisha.kutti at gmail.com>
wrote:>Hello
>When i run this command i get the error as shown below.I also changed
>my
>working directory and set it where ever i want but still its
>hopeless.please help me
>>counts <- read.table("NewBrain.tab", header=TRUE,
row.names=1)
>Error in file(file, "rt") : cannot open the connection
>In addition: Warning message:
>In file(file, "rt") :
> cannot open file 'NewBrain.tab': No such file or directory
>
> [[alternative HTML version deleted]]
>
>______________________________________________
>R-help at r-project.org mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide
>http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.