Here are a few links to get you started thinking about digital humanities applications in R.
Digital History Methods in R
Statistical Methods for Studying Literature Using R
Programming Historian Lessons on data wrangling, text analysis, network analysis, and mapping in R
Text Mining with R by O'Reilly
Other text mining in R tutorials: