I was able to use the library(tm) in r without problem until today, when loading tm shows:
library(tm)
tm
For any such type of issue regarding package not installed, update your R and later reinstall the package. These are the steps you follow:
if(!require(installr)){ install.packages("installr")} require(installr)} #load the package updateR()