here are some resources. The last is not R-related but goes in depth into these things
Lantz, B. (2015). Machine learning with R: Packt Publishing Ltd.
Wickham, H., & Grolemund, G. (2016). R for data science: Import, tidy, transform, visualize, and model data. Beijing: O'Reilly Media, Inc.
Chollet, F., & Allaire, J. J. (2017). Deep learning with R: Manning Publications.
Welbers, K., Van Atteveldt, W., & Benoit, K. (2017). Text analysis in R. Communication Methods and Measures, 11(4), 245-265. doi:10.1080/19312458.2017.1387238
James, G., Witten, D., Hastie, T., & Tibshirani, R. (2013). An introduction to statistical learning (Vol. 112). New York: Springer.