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

From: Philippe Grosjean <phgrosjean_at_sciviews.org>
Date: Tue 10 May 2005 - 18:57:43 EST

Prof Brian Ripley wrote:
> 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 platforms).

...but on most, if not all systems, you can use command-line applications to send emails... and since R can start command-line applications with system(), you should get that functionnality easily "incorporated" into R. Just use Google a little bit! Best,

Philippe Grosjean

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



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue May 10 19:06:52 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:40 EST