R memory management advice (caret, model matrices, data frames)

前端 未结 3 441
醉酒成梦
醉酒成梦 2020-12-16 05:48

I\'m running out of memory on a normal 8GB server working with a fairly small dataset in a machine learning context:

> dim(basetrainf) # this is a dataframe
[1] 5         


        
3条回答
  •  一个人的身影
    2020-12-16 06:13

    You can try to use the ff package, which implements "memory-efficient storage of large data on disk and fast access functions".

提交回复
热议问题