Trying to write a sparse matrix that was created using the `text2vec` package and getting an error about a type problem. ``` > write.svmlight(dtm_train, rownames(dtm_train), "/tmp/pd.svm") Error in write.svmlight(dtm_train, rownames(dtm_train), "/tmp/pd.svm") : not compatible with requested type > class(dtm_train) [1] "dgCMatrix" attr(,"package") [1] "Matrix" ```
Trying to write a sparse matrix that was created using the
text2vecpackage and getting an error about a type problem.