Using the textreg package
Introduction | Installing the textreg package | Getting ready to regress | Obtaining the Summary | Tuning the Summary | Selecting C | Dropping documents | Exploring the Text | Finding Where Phrases Appear | Independent Search Methods | Finding Phrases' Contexts | Relationships between phrases | Prediction | Out of Sample Prediction | Cross Validation | Cleaning Text and Stemming