The officer package facilitates access to and manipulation of 'Microsoft Word' and 'Microsoft PowerPoint' documents from R.
Examples of manipulations are:
read Word and PowerPoint files into data objects
add/edit/remove image, table and text content from documents and slides
write updated content back to Word and PowerPoint files
To learn more about officer, start with the vignettes:
browseVignettes(package = "officer")