powered by
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
if (FALSE) { filename1 <- "rm.arraymult__0.02.cpp" filename2 <- "rm.arraymult__0.03.cpp" crlrem( filename1, filename2 )}
Run the code above in your browser using DataLab