[R] Read.csv

Peter Dalgaard p.dalgaard at biostat.ku.dk
Thu Oct 26 11:55:16 CEST 2006


"Petr Pikal" <petr.pikal at precheza.cz> writes:

> Hi
> 
> On 26 Oct 2006 at 10:31, Wang, Joshua (EQS) wrote:
> 
> Date sent:      	Thu, 26 Oct 2006 10:31:00 +0900
> From:           	"Wang, Joshua (EQS)" <joshua.wang at gs.com>
> To:             	"Murray Pung" <mcpung at gmail.com>
> Copies to:      	r-help at stat.math.ethz.ch
> Subject:        	Re: [R] Read.csv
> 
> > Mr. Pung,
> > 
> > Thank you. It works in terms of loading the data. Except that there is
> > a header in the file that I would like to load it to be the names in
> > the data.frame.
> 
> You probably shall set row.names=NULL parameter in read.csv as stated 
> in help page
> 
...
> However you probably will always get some row numbering as it is an 
> attribute of data.frame.

And JW should probably have avoided the two times "probably" by giving
a concrete example of an input file and the intended result....

-- 
   O__  ---- Peter Dalgaard             Øster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)                  FAX: (+45) 35327907



More information about the R-help mailing list