Emailing Files with SendmailR and Purrr

I use R in my day job to generate and send out regular reports. The sendmailR package has been great to automatically email an output file. However, it becomes increasingly annoying to attach multiple files to an email. Or, at least, it was before I started learning the purrr package. HUGOMORE42 TL;DR Here’s the code template I use to attach all of the files in a specific folder to an email.

Read more

Share Comments

Hello World

Hello world! I’m starting off 2018 by finally getting a data science blog up and running! Since this is a “Hello World” post, let’s create a map of the world in R. I’m watching The West Wing while writing this, so let’s see if we can create the map from this classic episode. HUGOMORE42 Basic World Map We’ll start by creating a basic map of the countries of the world using ggplot2.

Read more

Share Comments