Try 'check.names=FALSE' in the read.table call.
On Fri, Aug 22, 2008 at 6:02 PM, kayj <kjaja27 at yahoo.com>
wrote:>
>
> I am trying to use rbind to have the two data on the top of each other but
I
> am getting an extra X on the column header and the rows are numberd , How
to
> get rid of this problem? I appreciate your help
>
>
>
> x1<- read.table(file="data1.txt", header=T,
sep="\t")
> x2<-read.table(file="data2.txt", header=T,
sep="\t")
> y<-rbind(x1,x2)
>> y
> X0 X0.0.05 X0.05.0.1 X0.1.0.2 X0.2.0.3 X0.3.0.4 X0.4.0.5
> 1 0.1971 0.108 0.1 0.1 0.156 0.38 0.22
> 2 0.2024 0.106 0.0 0.1 0.15 0.1408173 0.55
>>
>
> --
> View this message in context:
http://www.nabble.com/problem-with-rbind-tp19116234p19116234.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at 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.
>
--
Jim Holtman
Cincinnati, OH
+1 513 646 9390
What is the problem that you are trying to solve?