Entering edit mode
6.5 years ago
Tania
▴
180
Hello
I am new to R and would like to do this if anyone can give me example, would appreciate. If I have this file :
Row1_id , val11, val12 , val13
Row2_id , val21, val22 , val23
I need to split it to 3 files. A file for each column plus the row id and tab separated For example file 1 should be:
row1_id val11
row2_id val21
File 3 should look like
row1_id val13
row2_id val23