[BioC] problem with read.table

Martin Morgan mtmorgan at fhcrc.org
Sat Jul 19 22:52:22 CEST 2008


Hi Carol...

Carol white <wht_crl at yahoo.com> writes:

> 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)

Maybe spell out TRUE, FALSE (reserved words, cannot be assigned to) to
avoid getting the value of variables T, F from your environment??

Martin

>> 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

-- 
Martin Morgan
Computational Biology / Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N.
PO Box 19024 Seattle, WA 98109

Location: Arnold Building M2 B169
Phone: (206) 667-2793


More information about the Bioconductor mailing list