[BioC] problem with read.table

Herve Pages hpages at fhcrc.org
Mon Jul 21 20:45:37 CEST 2008


Hi carol,

Since this is not a Bioconductor specific issue, you could also try to ask
on the R-help list where you'll get a broader audience.

Cheers,
H.


carol white wrote:
> Hi,
> Although I set check.names to FALSE in read.table, the duplicate names get modified. What should be done in this case?
> 
> the text file to be read by read.table
> 
> AM2      AM2     AM2     FAL
> 2               3             4         5
> 1               -1           -3        -2
> 
> t = read.table ("my_file", check.names = F, header = T)
> 
>> t
> AM2      AM2.1     AM2.2     FAL
> 
> 2               3             4         5
> 
> 1               -1           -3        -2
> 
> instead of
> 
> AM2      AM2     AM2    FAL
> 
> 
> 2               3             4         5
> 
> 
> 1               -1           -3        -2
> 
> 
> Best,
> carol
> 
> 
> 
>       
> 	[[alternative HTML version deleted]]
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor



More information about the Bioconductor mailing list