Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/metaManagement.R
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.
| 1 2 3 4 5 6 7 | 
| 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  | 
| file |  (Required) Log File to write messages in.  It is eventually use by 
 | 
| format |  (Required) Format for the date. See  | 
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.
Mike K Smith mstoolkit@googlemail.com
options provides a similar mechanism for R options.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run: 
  oldverb <- setEctdVerbose( TRUE )
  olddf   <- setEctdDateFormat("
  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.