I am using RTextTools package on Windows 7 Professional with R version
2.13.
I managed to create a corpus but I basically can not run any models.
If I run:
models <- train_models(corpus, algorithms=c("GLMNET","MAXENT","SVM"))
The error is:
Error in if (outlist$msg != "Unknown error") return(outlist) :
argument is of length zero
Only running
models <- train_models(corpus, algorithms=c("SVM"))
The error is:
Error in SparseM::t(SparseM::t(x[cret$index[1:cret$nr], ])) :
error in evaluating the argument 'x' in selecting a method for
function 't': Error in SparseM::t(x[cret$index[1:cret$nr], ]) :
error in evaluating the argument 'x' in selecting a method for
function 't': Error in `[.matrix.coo`(x, rw, cl) : Subscripts out of
bound
When running
models <- train_models(corpus, algorithms=c("MAXENT"))
most of the time the RGui just crashes with the following error:
Problem Event Name: APPCRASH
Application Name: Rgui.exe
Application Version: 2.130.55427.0
Application Timestamp: 4da5a51a
Fault Module Name: maxent.dll
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 4ee2cc13
Exception Code: c0000005
Do you know what the problem is here? It seems to be loading all
required packages, though some are build under R 2.13.2 - is this the
reason why it wont work?
Thanks a lot for your help!