Am 17.05.2013 09:09, schrieb Pascal Oettli: > Hi, > > Which command? But I would say that the first row is imported as > column names.
maybe its a general problem of importing excel files. First of all I am using only sheeets with headlines ;_) but Students do sometimes not. ;-) So gdata - read.xls is importing sheets default with header=TRUE (its possible to set it false) if not the fist row is interpreted as X+VAlue) means f.e X12.5 thats nearly OK anybody can see that there is a value. readWorksheet the same with header but the name of the Column is Col1 newbies will not realize that there is a value missing and R-C commander has no header Option and the first value will changed to F1. Maybe it would be good to give out a warning in all import functions if header is not set explicit to TRUE f.e Warning: First datarow is used as headlines additionally: output of names(dataset) -> follow up to r-de...@r-project.org > > Regards, > Pascal > > > > 2013/5/17 Knut Krueger <r...@knut-krueger.de <mailto:r...@knut-krueger.de>> > > may be it is a bug: > if a excel file is not containing headlines the first data row > will not be imported > > Knut > > ______________________________________________ > R-help@r-project.org <mailto: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. > > -- ------------------------ Achtung ----------------------------------- # # Rückantwortadresse ist RH-Help Group # ------------------------ Achtung ----------------------------------- [[alternative HTML version deleted]]
______________________________________________ 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.