R/crlrem.R

Defines functions crlrem

Documented in crlrem

## File Name: crlrem.R
## File Version: 1.06

# remove line endings
crlrem <- function( filename1, filename2 )
{
    filename <- filename1
    con <- file(filename, "rb")
    bin <- readBin(con, raw(), 100000)
    bin <- bin[ which(bin !="0d") ]
    close(con)
    Sys.sleep(1)
    con <- file(filename2, "wb")
    writeBin(bin, con)
    close(con)
}

Try the miceadds package in your browser

Any scripts or data that you put into this service are public.

miceadds documentation built on May 29, 2024, 11:05 a.m.