Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
现在使用 R,我的内存几乎已满(gc() 已应用)。有没有办法知道每个变量的内存消耗,以便我知道哪个变量占用最多的内存并删除那个。
是的,试试:
object.size()