I'm new to R (and programming). I have a script that creates as data.table(A) with named columns and content from a binary file. Now I need another script that I can edit into different versions, where data from chosen columns in data.table(A) is copied into a data.table(B) the script create, with other columns with other names. I also need to export data.table(B) into a CSV file but I think I can find a ready-made script for that.
I appreciate help to formulate this kind of transform script. Thanks.
I don't know much programming in general, but I have installed RStudio.