[R] eMail results out of R

Scillieri, John John.Scillieri at constellation.com
Thu Jul 12 16:49:03 CEST 2007

We use a program called Blat (www.blat.net) on Windows to email out
results of overnight runs. If you're on Unix/Linux you can definitely do
a similar thing using one of the hundreds of command line utils.

The R code is similar to below:

sendEmail <- function(from, to, subject, body)
  MAILSERVER <- "your mail server here";
  command <- paste(BLAT, "-", "-to", dQuote(to), "-server", 
    MAILSERVER, "-s", dQuote(subject), "-f", dQuote(from))
  system(command, input=body)


John Scillieri

-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of
thomas.schwander at mvv.de
Sent: Thursday, July 12, 2007 9:53 AM
To: r-help at stat.math.ethz.ch
Subject: [R] eMail results out of R

Hi everyone,

I did my homework and read the posting guideline :-)

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 e-mail and any attachments are confidential, may contain legal,
professional or other privileged information, and are intended solely for the
addressee.  If you are not the intended recipient, do not use the information
in this e-mail in any way, delete this e-mail and notify the sender. CEG-IP2

More information about the R-help mailing list