logAction | R Documentation |
This is an internal CRHMr function and should normally not need to be called directly. This function is called by almost all CRHMr functions, and writes the comment, and the date and time to the logfile.
logAction(comment = "", logfile = "")
comment |
Required. Comment string to be written. This normally includes the function name, as well as the obs file being processed. |
logfile |
Optional. Name of the file to be used for logging the action. Normally not used. If not specified, then 'CRHMr.log' in the current working directory will be used. |
If successful, returns TRUE
. If unsuccessful, returns FALSE
.
Kevin Shook
## Not run:
comment <- paste('tMinMaxToHourly dataframe:', obsName, sep='')
result <- logAction(comment)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.