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

Gregor GORJANC gregor.gorjanc at bfro.uni-lj.si
Wed May 11 12:32:25 CEST 2005

> Is there a way to have an R program send an email?
> Something like this:
> address <- 'abc at d.com'
> text <- 'This is the email body'
> send.email(address, text)

Others have shown you how you can wrap external programs with R for sending
mail on unixoid systems. On windows you can install Cygwin and have the
same functionality. I particulary like mutt, since one can also send
attachments. Something like this can be very usefull:

mutt -x -s subject -a attachment email at hfjdhsj

Lep pozdrav / With regards,
    Gregor Gorjanc

University of Ljubljana
Biotechnical Faculty        URI: http://www.bfro.uni-lj.si/MR/ggorjan
Zootechnical Department     mail: gregor.gorjanc <at> bfro.uni-lj.si
Groblje 3                   tel: +386 (0)1 72 17 861
SI-1230 Domzale             fax: +386 (0)1 72 17 888
Slovenia, Europe
"One must learn by doing the thing; for though you think you know it,
 you have no certainty until you try." Sophocles ~ 450 B.C.

More information about the R-help mailing list