4

Which logging package would you recommend for R? I am aware there are several packages available but would like to know which one is considered the best. Specifically, here is what I am looking for:

  • multiple logging level
  • built-in support for rotating log file
  • fast (should not slow down too much existing code)
  • painless to setup (not too much boilerplate code)
bartektartanus
  • 15,284
  • 6
  • 74
  • 102
LouisChiffre
  • 691
  • 7
  • 15
  • @Louis it might help if you edited your question to be more specific. What requirements or features are you looking for in a logging package? – Jason Plank Feb 03 '11 at 07:50
  • Thanks for your feedback. I did not see the potential duplicate. – LouisChiffre Feb 03 '11 at 08:21
  • @Louis: have a look at the [logging package](http://stackoverflow.com/questions/1928332) I developed and am maintaining. if you miss anything, file a bug report. about the speed, I don't know, isn't R lazy enough that this is not an issue? but I'm interested in making it better, all usable evidence it's not good enough will be welcome! – mariotomo Feb 17 '11 at 20:10
  • @Mario actually, I have used and still use this package. It works well for my need. Thanks for creating and sharing it. What would be great is rotating file handler. – LouisChiffre Feb 21 '11 at 07:38
  • @Louis: I just opened a [feature request](https://r-forge.r-project.org/tracker/index.php?func=detail&aid=1289&group_id=672&atid=2710) for the rotating file handler. you run on Windows, don't you? – mariotomo Feb 21 '11 at 12:06
  • @Mario Thank you. Yeah I am on windows. I will have a look at (http://www.datori.org/?p=7) Maybe it's good enough. – LouisChiffre Feb 22 '11 at 18:33

1 Answers1

0

For simple logging, evaluate ?sink

Patrick McCann
  • 484
  • 4
  • 11