library( tm )
texts <- c("texting goblins the dagger", "text these goblins",
"texting 3 goblins appl daggers goblining gobble")
corpus <- Corpus(VectorSource(texts))
stemmed_corpus<-stem.corpus(corpus, verbose=FALSE)
stemmed_corpus[[2]]Run the code above in your browser using DataLab