I have data and i have vectors that contain name of variables
Using this vectors i want to create new columns that contain the sum of variables present vector
the vectors are generated by for loop so i don't know the number of vectors neither the variables that are present in each vector i.e in every time i generate vec that contain diffrent variables names

for example : let's assume that my loop will generate these three vectors : Vec when i=1 Vec when i=2 and Vec when i=3

```
Vec >
Vec >
Vec >
"A","B","C"
"B","D"
"D","E"

```

Here's the data
>data

```
Name      A    B    C    D    E
r1        1    5    12  21    15
r2        2    4     7  10     9
r3        5   15     6   9     6
r4        7    8     0   7    18

```

Here's the first result i should obtain ( start with the first vector)

```
    Name      A    B    C     ABC      D      E          
     r1       1    5   12     18      21     15         
     r2       2    4    7     13      10      9        
     r3       5   15    6     26       9      6         
     r4       7    8    0     15       7     18         

```

And here's the final result

```
Name      A    B    C     ABC        D       BD      E          DE
 r1       1    5   12     18         21      26      15         36 
 r2       2    4    7     13         10      14       9         19
 r3       5   15    6     26          9      24       6         15
 r4       7    8    0     15          7      15      18         25

```

i.e V1 contain name of variables "A" , "B" , "C" and ABC contains the sum of variables A, B and C
ans the same for BD( sum of B and D ), and DE (sum of D and E)

Note also that i want the name of my new columns to be the names of columns present in the vectors

Please tell me if you need more informations and more explications or details