Open a new logfile
Name of logfile (character or writeable
Minimum priority level (numeric, optional)
Append to logfile? (logical, optional)
Send all console output to logfile? (logical, optional)
Open a new logfile. Messages will only appear in the logfile
level exceeds the log's
this allows you to easily change the amount of detail being logged.
Re-opening a logfile will erase the previous output unless
is TRUE. Opening a new logfile when one is already open will temporarily
switch logging to that new file.
sink is TRUE, all screen output will be captured (via
Invisible fully-qualified name of log file.
1 2 3 4