I have read this file into a data.frame in R, and as you can see the 5th column contains some values separated with ";". Is it possible to turn this data.frame to a much larger data.frame and expand the 5th column into a binary vector?

```
> head(uinfo)
      V1   V2 V3  V4                             V5
1 100044 1899  1   5    831;55;198;8;450;7;39;5;111
2 100054 1987  2   6                              0
3 100065 1989  1  57                              0
4 100080 1986  1  31 113;41;44;48;91;96;42;79;92;35
5 100086 1986  1 129                              0
6 100097 1981  1  75                              0

```

So, as a simpler example, if my first two rows are:

```
1 100044 1899  1   5    1;2;4;7
2 100054 1987  2   6    3;8

```

I want to get:

```
1 100044 1899  1   5    1 1 0 1 0 0 1 0 0 0
2 100054 1987  2   6    0 0 1 0 0 0 0 1 0 0

```

Do I have to use another program such as python for preprocessing of the data, or is it possible to do so by some apply function?

Thanks