Or you could use the read.xls program in the gdata library that uses a 
perl script underneath.

Charles Danko wrote:
> try:
> var <- read.table("weekly.txt", sep="\t", header=TRUE)
>
> Charles
>
> On Thu, Apr 24, 2008 at 3:29 PM, tzsmile <rz2171@yahoo.com> wrote:
>   
>>  i just want to read data from Excel and i copied it and pasted into a txt
>>  file.
>>  then i want to use "read.table" to read it. but however i tried, it doesn't
>>  work.
>>  can someone help me?
>>  data is attached.
>>  thanks http://www.nabble.com/file/p16851853/weekly.txt weekly.txt
>>  --
>>  View this message in context: http://www.nabble.com/a-simple-question-of-importing-data-tp16851853p16851853.html
>>  Sent from the R help mailing list archive at Nabble.com.
>>
>>  ______________________________________________
>>  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
>>  and provide commented, minimal, self-contained, reproducible code.
>>
>>     
>
> ______________________________________________
> 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
> and provide commented, minimal, self-contained, reproducible code.
>   

	[[alternative HTML version deleted]]

