I am currently tasked with manipulating a text file in order to eliminate any whitespace from the end of a file. To do this, I am toying with R and trying to find a way to c