[R] reading excel into R

cheba meier
Thu, 01 Apr 2010 10:19:25 -0000

Dear all,

I am new R user and I am sure that this question has been asked quite often
and I have also googled it and read about it! I understood that in order to
read excel sheet into R you need to open it and saved it as csv or text, is
this true? or you can use read.delim2 and read.csv2 to do this without the
following error

> dat <- read.csv2(file="C:\\Dokumente und
Einstellungen\\Cheba\\Desktop\\Rtemp\\ Results2010.xls",header = TRUE)
Warnmeldung:
In read.table(file = file, header = header, sep = sep, quote = quote,  :
  unvollständige letzte Zeile von readTableHeader gefunden in 'C:\\Dokumente
und Einstellungen\\Cheba\\Desktop\\Rtemp\\
Results2010.xls'
> dat
[1] ÐÏ.à..
<0 Zeilen> (oder row.names mit Länge 0)

Thes same error I get when I use read.delim and demlim2!

Is library(gdata) the solution?

Sorry for any inconvenience caused.

Regards,
Cheba

	[[alternative HTML version deleted]]