This function removes CF line endings from a text file and writes the processed file in the working directory.
crlrem( filename1 , filename2 )
Name of the original file (possibly with CF line endings)
Name of the processed file (without CF line endings)
This is code by Dirk Eddelbuettel copied from https://stat.ethz.ch/pipermail/r-devel/2010-September/058480.html
1 2 3 4 5
## Not run: filename1 <- "rm.arraymult__0.02.cpp" filename2 <- "rm.arraymult__0.03.cpp" crlrem( filename1 , filename2 ) ## End(Not run)