I'm new using R. I'm trying to add new lines to a file with my existing data in R. The problem is that my data is of about 30000 rows and 13000 cols. I already try to add a line with the writeLines function but the resulted file contains only the line added.
Have you tried using the write
function?
line="blah text blah blah etc etc"
write(line,file="myfile.txt",append=TRUE)