ez.log | R Documentation |
sink
recommend to use logon(), logoff(), which are convenient shortcuts of log()
ez.log(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: log("thelog.txt")
# logging off: log(status=False) # no need to pass in the file parameter
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.