Re: [R] help to merge two data frame if name matches

2010-11-09 Thread Marianne Promberger
Hi Mohan, Mohan L 09-Nov-10 15:17: > I want to merge ip,bsent,breceived column to "main" , If the name in > the the "main" data frame is there in the "other" data frame . some > thinng like this: > > nameid memory storage ip bsent breceived > > mohan1100 20

Re: [R] help to merge two data frame if name matches

2010-11-09 Thread Uwe Ligges
On 09.11.2010 16:17, Mohan L wrote: Dear All, I have two data like this : $cat main.csv name,id,memory,storage mohan,1,100.20,1.10 ram,1,200,100 kumar,1,400,50 xxx,1,100,40 aaa,1,800,45 mount,1,200,80 main<- read.csv(file='main.csv',sep=',' , header=TRUE) main nameidmemory sto

[R] help to merge two data frame if name matches

2010-11-09 Thread Mohan L
Dear All, I have two data like this : $cat main.csv name,id,memory,storage mohan,1,100.20,1.10 ram,1,200,100 kumar,1,400,50 xxx,1,100,40 aaa,1,800,45 mount,1,200,80 > main <- read.csv(file='main.csv',sep=',' , header=TRUE) > main nameidmemory storage 1 mohan 1100.2 10 2