If "\t" just represents a tab delimiter, try read.delim :
read.delim(text = files)
You can also consider the stringi package. Here I saw "\t" as a fixed pattern:
library(stringi) stri_split_fixed(files, "\t", simplify = TRUE) # [,1] [,2] [,3] [,4] # [1,] "" "rfinal" "" "" # [2,] "eq1" "" "" "" # [3,] "0.ster6" "1.00" "(1.00,1.00)" "." # [4,] "1.ster6" "0.65" "(0.47,0.88)" "0.006" # [5,] "0.parkinson" "1.00" "(1.00,1.00)" "." # [6,] "1.ster6#0.parkinson" "1.00" "(1.00,1.00)" "."
In general, however, it is not clear what should be considered as a heading, etc., and it would be better to implement @musically_ut a proposal to use comment.char and try to solve the problem in the source.
A5C1D2H2I1M1N2O1R2T1
source share