I have resolved the issue. I have Download RTextTools From Given Link.
https://cran.r-project.org/src/contrib/Archive/RTextTools/
and copy RTextTools_1.4.2.tar.gz
file in project root folder then run this command in project folder in terminal
"R CMD INSTALL RTextTools_1.4.2.tar.gz"
After running this command I receive below error
"ERROR: dependencies ‘SparseM’
, ‘randomForest’
, ‘tree’
, ‘e1071’
, ‘ipred’
, ‘caTools’
, ‘maxent’
, ‘glmnet’
, ‘tau’
are not available for package ‘RTextTools’
".
Now install each dependencies from RStudio or RConsole (Any Editor used by you) by simply running this code.
install.packages("caTools")
.
Install all 9 required packages One By One (In My Case it was 9 Packages Dependencies required by RTextTools
) all packages will be installed except 'maxent'
.
Now download maxent from the given link.
https://cran.r-project.org/src/contrib/Archive/maxent/
.
and copy maxent_1.3.3.1.tar
file in project folder then run this command in project folder in terminal.
"R CMD INSTALL maxent_1.3.3.1.tar"
Now For RTextTools
Run this command again in Terminal.
"R CMD INSTALL RTextTools_1.4.2.tar.gz"
All is done Now..
But the Last Step is
Load the RTextTools
using.
library(RTextTools)
You will see one more Error: Load SparseM Now Loading SparseM use code below.
library(SparseM)
and in the last Load RTextTools
library(RTextTools)