New to R, and am trying to install the text mining package ™. However when I do
install.packages(“tm”,dependencies=TRUE)
I get the following error:
Warning in install.packages("tm", dependencies = TRUE) :
argument 'lib' is missing: using '/usr/local/lib/R/site-library'
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
package ‘tm’ is not available
Any thoughts?
Thanks in advance.
There’s a thread on this in the Ubuntu forums.
Most likely answer is that tm requires a more recent version of R (>= 2.11.0) than the one that you have installed. Try adding an R repository as described here and upgrading, then try to install tm again.