The tm package in R provides the stemDocument() function to stem the document to it's root.
This function either takes in a character vector and returns a character vector, or takes in a PlainTextDocument and returns a PlainTextDocument.
example: stemDocument(running,runs,ran) would return (run,run,ran) as the ouput.