View source: R/metaManagement.R
setEctdVerbose | R Documentation |
Options used by the MSToolkit package to control the logfile, the amount of messages that are written in the logfile, and the format of the date.
setEctdVerbose(verbose)
verbose |
(Required) A logical value. If set to TRUE, messages are
sent to the logfile during the process of generating the data and analyzing
it. Set to |
The three function write and read information from the (not exported)
environment .ectdEnv
. These settings are mainly used by the (not
exported) .log
function.
The function (invisibly) returns the previous value of the arguments.
options
provides a similar mechanism for R options.
## Not run:
oldverb <- setEctdVerbose( TRUE )
olddf <- setEctdDateFormat("%Y")
oldlf <- setEctdLogFile("mstoolkit.log")
for( i in 1:100 ) {
MSToolkit:::.log( paste("some message:", i) )
}
file.show( getEctdLogFile() )
setEctdVerbose (oldverb)
setEctdDateFormat(olddf )
setEctdLogFile (oldlf )
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.