I was able to use the library(tm) in r without problem until today, when loading tm shows:
library(tm)
tm
Apparently the problem seems to be the version of R you are using. Try installing the latest version of R, 3.3.1. That should take care of it.