How to clean up R memory (without the need to restart my PC)?

后端 未结 8 953
小蘑菇
小蘑菇 2020-12-07 14:37

I am running my code in R (under Windows) which involves a lot of in-memory data. I tried to use rm(list=ls()) to clean up memory, but seems the memory is still

8条回答
  •  甜味超标
    2020-12-07 15:24

    I've found it helpful to go into my "tmp" folder and delete all hanging rsession files. This usually frees any memory that seems to be "stuck".

提交回复
热议问题