install.packages('RTextTools')
library(RTextTools)
data("NYTimes", package='RTextTools')
head(NYTimes)
timesMat <- create_matrix(NYTimes$Title)
I can view the data "NYTimes" but call to create_matrix throws error that function not found.
while call to library I see the below error:
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : there is no package called ‘slam’ Error: package or namespace load failed for ‘RTextTools’
Please help...