I am currently using R for work statics and whenever I want to add a column or a row I always go back to .csv file.
What command should i use to input the data via the terminal ? I use Linux OS.
I am currently using R for work statics and whenever I want to add a column or a row I always go back to .csv file.
What command should i use to input the data via the terminal ? I use Linux OS.
For a single, command-line addition rbind will do.
r rbind(Data, newrow)
Just keep in mind that for repeated application, rbind is known to be slow.