[R] Does R have a command for sending emails?

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue May 10 06:43:31 CEST 2005

On Mon, 9 May 2005, Fernando Saldanha wrote:

> Is there a way to have an R program send an email?

No.  There have been proposals to do this, but it is highly OS-specific, 
and also likely to hit security issues.

You could take a look at what bug.report() does (which is nothing on some 

> Something like this:
> address <- 'abc at d.com'
> text <- 'This is the email body'
> send.email(address, text)

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