In this video, we'll learn how to perform text generation in R. First, we'll go over a conceptual overview and example of how text generation using Markov Chains works. Then, we'll learn how to do this in R using just 3 lines of code. To do this, we'll use the markovify (Python package) and markovifyR (R package) packages. All of the code from this tutorial is available here: https://github.com/melissavanbussel/YouTube-Tutorials/tree/main/text_generation The Reddit dataset used in this video can be downloaded from Kaggle here: https://www.kaggle.com/datasets/vishxl/showerthoughts The Shiny app that was used in the demo in this video is located here (Please note that there is a 5MB upload size limit for the version that is hosted on shinyapps.io): https://melissavanbussel.shinyapps.io/text_generation/ If you found this video helpful, please subscribe to my channel. Want to connect? Twitter: https://twitter.com/melvanbussel LinkedIn: https://www.linkedin.com/in/melissavanbussel Website: https://www.melissavanbussel.com/ GitHub: https://github.com/melissavanbussel