Tags » R-project

Logging

Levels:

  1. Debug
  2. Info
  3. Warn
  4. Error
  5. Fatal (only log4r)

Simple usage:

  • logging:
    • basicConfig(level=’FINEST’)
      addHandler(writeToFile, file=”~/testing.log”, ┬álevel=’DEBUG’)
      loginfo(‘test %d’, 1)
  • log4r:
    • logger <- create.logger(logfile=’testing.log’, level=log4r:::DEBUG)
      #logfile(logger) <- ‘testing.log’
  • 33 more words
R Project

R Regular expressions

Most useful regular expressions in R:

Character Functionality 102 more words
R Project