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)
}

Try the icesAdvice package in your browser

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

icesAdvice documentation built on March 18, 2022, 6:19 p.m.