I'm processing multiple R files some have 3 columns
id v_1 v_2 V_3
1 1 2 3
Other have more some less
id v_1 v_2
1 1 7
Is is possible to "force" every file to have 10 columns (not counting id col) and the extra ones with no values such that you get
For the first example
id v_1 v_2 v_3 v_4 v_5 v_6 v_7 v_8 v_9 v_10
1 1 2 3
And for the second example
id v_1 v_2 v_3 v_4 v_5 v_6 v_7 v_8 v_9 v_10
1 1 7
So basically regardless of the number of columns from the input file you always get 10 columns