[Rd] bug.report/mail

Martin Maechler Martin Maechler <maechler@stat.math.ethz.ch>
Fri, 9 Mar 2001 10:15:50 +0100


>>>>> "PaulG" == Paul Gilbert <pgilbert@bank-banque-canada.ca> writes:

    PaulG> One of the functions I would like to clean out of my syskern
    PaulG> package is a program to send mail. This is a common feature
    PaulG> other programs (e.g. bug.report) may use so I would like it to
    PaulG> be included in R/base. I will volunteer to do this as it looks
    PaulG> like a fairly straightforward dissection of bug.report but I
    PaulG> have some questions:

    PaulG> Has anyone done this already?

yes,  bug.report()  *does* all this already (when system resources are
available), using getOption("mailer") and/or argument  `method = '

    PaulG> Is "mail" a good name or would something like "Sys.mail" be
    PaulG> better?


I think what we want is modularizing  bug.report()
by having it call a new  Sys.mail()
function passing it the subject, from & body  (and may be more).

A good idea!

    PaulG> Should I generate a diff relative to something or just files for
    PaulG> src/library/base/R?

I think useful would be to just modularize  bug.report() as indicated above

    PaulG> Paul Gilbert

Martin Maechler <maechler@stat.math.ethz.ch>	http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum  LEO D10	Leonhardstr. 27
ETH (Federal Inst. Technology)	8092 Zurich	SWITZERLAND
phone: x-41-1-632-3408		fax: ...-1228			<><
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._