I am using readLines("file.txt")
to read in R. I'm getting a character vector:
[1]"classLabel|UserName|2|1.857|Subejct|User Questio(text)n?|Answer(text).|text"
but I wanted to further process it as so i can have it as a dataframe
col1 col2 col3 col4 col5 col6 col7 col8
classLabel usrName 2 1.857 Subject User Q Answer text
The file format is | delimited and there are 8 attributes.
classLabel|UserName|2|1.857|Subejct|User Questio(text)n?|Answer(text).|text
Also if you can share some tutorials or resources for loading Data in R would be really helpful