Message-ID: <42807787.6030504@sciviews.org>
Date: 2005-05-10T08:57:43Z
From: Philippe GROSJEAN
Subject: Does R have a command for sending emails?
In-Reply-To: <Pine.LNX.4.61.0505100540300.17882@gannet.stats>
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 at d.com'
>> text <- 'This is the email body'
>> send.email(address, text)
>
>
>