Skip to content

how to read a freetext line ?

1 message · Sarah Goslee

#
Hi,

Please copy your replies to r-help so others may participate in the
discussion.

2011/11/17 Jie TANG <totangjie at gmail.com>:
So your problem is with strsplit(), and not with reading in the data?
I did it in many steps so that you can see how each bit works:
[1] "food"
[1] "2"  "1"  "12"
[1]  2  1 12