Learn R Programming

miceadds (version 3.17-44)

crlrem: R Utilities: Removing CF Line Endings

Description

This function removes CF line endings from a text file and writes the processed file in the working directory.

Usage

crlrem( filename1, filename2 )

Arguments

filename1

Name of the original file (possibly with CF line endings)

filename2

Name of the processed file (without CF line endings)

Author

This is code by Dirk Eddelbuettel copied from https://stat.ethz.ch/pipermail/r-devel/2010-September/058480.html

Examples

Run this code
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