1
I am using Rstudio to do my scritps. I try to install a package called topicmodels through the command 
install.packages("topicmodels")
However, I get the following error message:
ERROR: dependency ‘tm’ is not available for package ‘topicmodels’.
Version of Rstudio: Version 1.1.456. Operating System: Ubuntu 16.04
How would I solve this?
Welcome to Stackoverflow! I tried to install this package here on my machine and it all worked out. I use the
R 3.5.1. Maybe it’s the version ofRon your machine that is out of date. Please run the commandsessionInfo(), copy the result and edit your question with it. This will help us try to solve your problem.– Marcus Nunes