Hello everyone,

I have two dataframes: df1 and df2. I want to combine them using `rbind` function. These two dataframe have some overlapping rownames. When combining it adds a value to the overlapping rownames.

For example:

df1 has one row as rs119151

df2 also has one row as rs119151

After combining its coming as 

    rs119151
    rs1191511

I want it to show as:

    rs119151
    rs119151.1

and so on if we have more same rows for this value.

I am trying to use make.names command but its not working for me?

```r
new <- make.names(rbind(df1,df2),unique=TRUE)
```

Is there any other way to do it?
`make.names` works on a vector, not a dataframe.

We can *rbind*, then reassign fixed *rownames*, try this example:

    d1 <- data.frame(x = 1:2, row.names = c("rs1", "rs2"))
    d2 <- data.frame(x = 4:5, row.names = c("rs1", "rs3"))
    
    res <- rbind(d1, d2)
    #      x
    # rs1  1
    # rs2  2
    # rs11 4
    # rs3  5
    rownames(res) <- make.unique(c(rownames(d1), rownames(d2)))
    res
    #       x
    # rs1   1
    # rs2   2
    # rs1.1 4
    # rs3   5