https://github.com/cran/pracma
Raw File
Tip revision: 26e049d70b4a1c237987e260cba68f6a9413736c authored by Hans W. Borchers on 09 April 2019, 04:10:07 UTC
version 2.2.5
Tip revision: 26e049d
fprintf.R
##
##  f p r i n t f . R  Formatted printing to stdout or file
##


fprintf <- function(fmt, ..., file = "", append = FALSE) {
    mystr <- sprintf(fmt, ...)
    cat(mystr, file = file, append = append)
    invisible(nchar(mystr))
}
back to top