[R] eMail results out of R

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Jul 12 18:44:35 CEST 2007


On Thu, 12 Jul 2007, Duncan Murdoch wrote:

> On 7/12/2007 9:52 AM, thomas.schwander at mvv.de wrote:
>> Hi everyone,
>>
>> I did my homework and read the posting guideline :-)

But failed to follow it, and not telling us the OS makes this very much 
harder to answer adequately.

>> I want to eMail the results of a computing automatically. So I get the 
>> results (the parameters of a garch process) and I want to eMail them to 
>> another person. How can I do that?
>
>
> This will depend on the system you're using.  If the command "emailit"
> would work from the command line on your system, then
>
> system("emailit")
>
> should work from within R.  Writing that command is the hard part, of
> course.

But bug.report() will give you a good start on command-line oriented 
systems which have mailx (the POSIX mail client).  (mailx is more standard 
than mail that a couple of others have referred to.)

The adventurous could use make.socket and friends to talk to the sendmail 
daemon on a Unix-alike.

Windows is somewhat harder: 'blat' provides a command-line mail client 
that talks to a SMTP server elsewhere.  If you use MS Exchange you will 
need to find other ways to talk to it (DCOM?)

Long ago we talked about have a mailer() function in R, but making one 
that was close to universal proved to be far too difficult for its 
utility.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list