R/unix2dos.R

Defines functions unix2dos

## Utility function borrowed from icesTAF
unix2dos <- function(file)
{
  txt <- readLines(file)
  con <- file(file, open="wb")
  writeLines(txt, con, sep="\r\n")
  close(con)
}
arnima-github/icesAdvice documentation built on Oct. 28, 2023, 10:19 a.m.