KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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 occupied and I cannot rerun my code. I tried to close the R and restart R again, but it is the same. It seems that memory is still occupied, as when I run the code, it says it can't allocate memory (but it could at the first time). The memory only seems to get cleaned up after I restart my PC. Is there any way to clean up the memory so that I can rerun my code without restarting my PC every time?
Tags (comma-separated)
Save Edits
Cancel