Description Usage Arguments Details Author(s) See Also Examples
ilog
echo a copy of console output to log file.
1 2 3 4 5 | ilog(logfile = "LOG.txt", append = FALSE)
ilog.close()
ilogtxt(cmd, res, s, vis)
|
logfile |
Name of desired log file in |
append |
a logical value |
cmd |
command line |
res |
result |
s |
others |
vis |
others |
ilog
is a two-step function that allows you a record of your console.
A log is a file containing what you type and console output. If a name is not
specified, then ilog
will use the name <unnamed>.txt
.
ilog
opens a log file and ilog.close
close the file.
Warnings:
Clearing the global environment while logging will interrupt the logging
process. In that case, console prompt will be stuck at log>
.
Run the code
below to get the console prompt back to normal.
options(prompt = "> "
, continue = "+ "
)
Myo Minn Oo (Email: dr.myominnoo@gmail.com | Website: https://myominnoo.github.io/)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.