I have 2 lists with names of cities. both the lists contain exactly the same city names. I have to create city pairs out of these lists. So for example, the 1st list contains names like London, Paris, Moscow, Geneva and Tokyo. List 2 contains the exact same names. However the third list should contains pairs like "London-Paris", "London-Tokyo","London-Geneva" and so on but not "Tokyo-London" or " Paris-London" since that would be double counting. Any help either in R or excel would be appreciated.
I have tried using 'combn' function in R. However I have around 4500 observation and 'combn' function did not work for me.