Hi Sarath, try

"C:\\Documents and Settings\\admin\\Desktop\\data.txt"
or
"C:/Documents and Settings/admin/Desktop/data.txt"

or yet

setwd("your path")
mydata<-read.table("data.txt")
cheers

miltinho

On Thu, Dec 17, 2009 at 12:24 PM, <sta_2279@spectrum.net.in> wrote:

> Hi,
>   I am using R and I want to know how data can be transferred from Excel
> Spread sheet to R for analyzing. I have done like this
>
> mydata<-read.table("C:\Documents and Settings\admin\Desktop\data.txt");
>
>
> but its not working how can i do it
>
>                                                      regards
>
>                                                    Sarath Sankar V
>                                               Spectrum Softtech Solution
>
> ______________________________________________
> R-help@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<http://www.r-project.org/posting-guide.html>
> and provide commented, minimal, self-contained, reproducible code.
>

	[[alternative HTML version deleted]]


