I want to send emails from R. This is what I have so far:
library(sendmailR) from <- \"eamil@example.com\" to <- \"email2@example.com\" subject <-
If you prefer an in-house solution with your server, you can call the linux sendmail.
EMAIL <- myEmail@gmail.com cmd <- 'subject="Info server";body="This is an email"' cmd <- paste("echo -e \"Subject:${subject}\n${body}\" | /usr/sbin/sendmail -t \"", EMAIL, "\"") system(cmd)