I have a dataframe file, but instead of writing in column, it has been written in row, as below:
a: 1
b: 2
c: 3
a:3
b:2
c:9
a: 4
b: 4
...
Now I want to read this file to a dataframe in R, so I will have a dataframe with three columns a, b and c, and the values as in the file.
How can I do that?
Thank you very much