R/writeTextFile.R

Defines functions writeTextFile

Documented in writeTextFile

##' Conveniently writeLines to file
##' @param lines the character lines to write
##' @param file The file name path to write to
##' @return NULL
##' @keywords internal


writeTextFile <- function(lines,file){
    con <- file(file, "wb")
    writeLines(lines, con = con)
    close(con)
}

Try the NMsim package in your browser

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

NMsim documentation built on Nov. 2, 2024, 9:06 a.m.