On 13/04/2010 8:43 AM, Bos, Roger wrote:
When I encounter memory errors, I like to see the size of the objects in
memory, so I modified one of the examples:
z <- sapply(ls(), function(x) object.size(get(x)))
as.matrix(rev(sort(z))[1:10])
This works fine if I run it as is, but if I try t
When I encounter memory errors, I like to see the size of the objects in
memory, so I modified one of the examples:
z <- sapply(ls(), function(x) object.size(get(x)))
as.matrix(rev(sort(z))[1:10])
This works fine if I run it as is, but if I try to place it inside a
function, I get an erro
2 matches
Mail list logo