log_text | R Documentation |
The specified text is printed and written to the current log file. Does not overwrite the file. Also used internally by many functions in the package
log_text(text)
text |
The text to be logged |
init_log
, finish_log
, log_state
file_name <- "~/log.txt"
init_log(file_name)
log_text("Hello World!")
# Print the contents of the file
scan(file_name, sep = "\n", what = "character")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.