Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any standard logging package for R? [closed]

Tags:

logging

r

I am looking for the standard (if any) logging package for R, and some sample usage?

I also don't see any among the packages listed: http://cran.r-project.org/web/packages/

like image 783
mariotomo Avatar asked Dec 18 '09 13:12

mariotomo


People also ask

How do I close a log file in R?

The log_close() function closes the log. In normal situations, a user would place the call to log_open() at the top of the program, call log_print() as needed in the program body, and call log_close() once at the end of the program.

What is logger package?

logger: A Lightweight, Modern and Flexible Logging UtilityInspired by the the 'futile. logger' R package and 'logging' Python module, this utility provides a flexible and extensible way of formatting and delivering log messages with low overhead. Version: 0.2.2.


1 Answers

I just submitted a logging package to CRAN. it is based on some parts of an older version of the 'futile' package (by Brian Lee Yung Rowe).

You find the logging package:

  • on github
  • on R-forge
  • on CRAN

It mimics the standard python logging package, but please be careful if you decide to use it. I also attempted to document it by example, the package home page on R-Forge points to a couple of possible usage sessions.

Any feedback will be read with interest!

like image 150
mariotomo Avatar answered Sep 18 '22 21:09

mariotomo