ez.logon: Prints/Directs output to both terminal and a file (log.txt)...

View source: R/io.R

ez.logonR Documentation

Prints/Directs output to both terminal and a file (log.txt) globally, wrapper of ez.log

Description

Prints/Directs output to both terminal and a file (log.txt) globally, wrapper of ez.log

Usage

ez.logon(file = "log.txt", mode = "a", status = TRUE, timestamp = TRUE)

Arguments

mode

a=append; w=overwrite

status

T=open the redirection/file, F=close the redirection

timestamp

T=insert timestamp at the beginning and end, F=otherwise

Value

nothing

See Also

ez.print

Examples

# logging on: logon()
# logging off: logoff()  # does not accept any parameter

jerryzhujian9/ezmisc documentation built on March 9, 2024, 12:44 a.m.