I'm new to code on R. I've got a big document feature matrix(11mln*500000) which I need to save somehow to file which can be later read using not R. Trying to do this:
data<-readRDS("dfm")
new_data<-head(data, 11156133, 517888)
df<-as.data.frame(new_data)
write.csv(df, "dfm.csv")
But get an error:
Cholmod error 'problem too large' at file ../Core/cholmod_dense.c, line 105
Please help