testLines1 <- c(
"482A885145L989378k853295J46714q39581j382088R41076k774051J365135l135709P53917",
"472a903359j71857q18832K573831k615133L481852l395846L894844l478693M916433",
"463B483240m513444O146172m826168N233079m522551M000252m097028L466111l460183",
"454i0520L061628k524598K788931k509430L219286k511160K709095k122775J594246"
)
demo1 <- decompLines(testLines1, debug = 6)
testLines2 <- c(
# EU AFFN:
"1898,58486802541 -0,0170190036296844 -0,0170874372124672 -0,0171865783631802",
"1917,23501403401 -0,0176097713410854 -0,0177919361740351 -0,0179808251559734",
# AFFN with fixed field width/extra space:
" 16383 2259260 -5242968 -7176216 -1616072",
" 16379 10650432 4373926 -3660824 2136488"
)
demo2 <- decompLines(testLines2, debug = 6)
Run the code above in your browser using DataLab