Skip to main content

Project 3: The R Form Mailer

  • Chapter
  • First Online:
  • 1044 Accesses

Abstract

Email is something that we simultaneously love and hate. It’s great in that it allows us to conduct quite a bit of business and pleasure through its use, but it can also be an overwhelming avalanche of information when we log in for the first time in several days (or hours, if you’re unlucky!). In this chapter, we’re going to discuss how R can work with email in a few interesting ways. First, we’ll talk about the email packages that R supports. We’ll then dig into one specific package that hooks R up to one of the most popular email providers on the Web: Gmail. We’ll take a side trip down the road of data encryption and security and then return to the big payoff: the R Form Mailer – automated email sending through just a script, making it more flexible than alternatives such as Mail Merge. By the end of this chapter, you’ll be able to send out a bulk email that calculates a salesperson’s commission, without ever needing to take out your calculator. Let’s jump in!

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   44.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   59.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Jon Westfall

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Westfall, J. (2020). Project 3: The R Form Mailer. In: Practical R 4. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-5946-7_6

Download citation

Publish with us

Policies and ethics