ez.logon | R Documentation |
ez.log
Prints/Directs output to both terminal and a file (log.txt) globally, wrapper of ez.log
ez.logon(file = "log.txt", mode = "a", status = TRUE, timestamp = TRUE)
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 |
nothing
ez.print
# logging on: logon()
# logging off: logoff() # does not accept any parameter
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.