I want to read below data example in r.
The first column is country name, but when i read in r, it give some error of sep?
My code:
df <- read.table('df.txt', header=T)
My data look like
column1 column 2
spain 20
united kingdom 37
germany 97
republic of china 12
Any suggestion please?