I resume working on text mining after a substantial period of hiatus, but soon found out that the package RTextTools
has been removed from CRAN and was no longer in maintenance. I tried to download it manually from CRAN archive using
url <- "http://cran.r-project.org/src/contrib/Archive/RTextTools/RTextTools_1.4.2.tar.gz"
install.packages(url, repos=NULL, type="source")
but my R
shows
there is no package called 'RTextTools'.
I then tried out the trick recommended by this earlier thread by using
url <- "http://cran.r-project.org/src/contrib/Archive/RTextTools/RTextTools_1.4.2.tar.gz"
pkgFile <- "RTextTools_1.4.2.tar.gz"
download.file(url = url, destfile = pkgFile)
install.packages(c('randomForest', 'tree', 'ipred', 'maxent', 'glmnet', 'tau'))
install.packages(pkgs=pkgFile, type="source", repos=NULL)
But this didn't work either.
The RTextTools
package has many handy features I appreciate and I really do want to maintain an older version of it in my folder, is there any other ways I can install the archived version of this package on my R
?