View source: R/CoreFunctions.R
useLogFile | R Documentation |
useLogFile
writes code to a command file (batch file) to set the log
file for FUSION tools. The normal behavior is to write output to a log file in the
FUSION install folder (LTKmaster.log).
useLogFile(logFile = NULL, cmdFile = NULL, logClear = FALSE, cmdClear = FALSE)
logFile |
character: Name of the log file. |
cmdFile |
character: contains the name of the file to which commands should be written. |
logClear |
boolean: add a line to the command file to delete the |
cmdClear |
boolean: indicates file for command should be deleted before the command line is written. Use this option with caution as it will wipe out the content of the command file. |
Note that the logFile
can contain spaces (the folder name, file name, or both).
However, using spaces is not recommended and may cause problems. If you include a folder
name, you can use the backslash or forwardslash characters as the path separator.
To reset logging behavior to use the log file in the FUSION install folder, use useLogFile("")
.
invisible boolean indicating success or failure
## Not run:
useLogFile("NewLog.log", "test.bat", logClear = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.