Skip to content
Prev 49144 / 63424 Next

[R logs] Help in develop a simply logs package

R has support for options(warning.expression=...), but it acts
differently than the options(error=...).

S (and S+) let the user override the default '.Program' expression.
Its default value was essentially
   print(.Last.value <- eval(parse(file=stdin())))
but a replacement could add stuff like print the time it took to do
the evaluation, put errors and warnings
into a log file, or even read input expressions from an alternate source.

R has some hook functions that let you do some of that, but I don't
know how much they let you do.



Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Tue, Oct 7, 2014 at 7:16 AM, DataK - B. THIEURMEL <bt at datak.fr> wrote: