I have a .xml file that I read with readLines() in R. I would like to know if there is some function that allow me to delete from line 15 to line 18.
I would need of a general command, because I have to repeat the function in loop on the same .xml file, but for the following lines.
readr
package with the functionsread_lines
andwrite_lines
. – Softcover