Re: [R] object.size vs. workspace size

2014-03-06 Thread Prof Brian Ripley
On 06/03/2014 23:26, Hui Du wrote: Hi All, I have 2 objects, A and B, where object.size(A) = 5M and object.size(B) = 80M. However, after I save those two objects as workspaces, say, save(A, file = "A.Rdata") and save(B, file = "B.Rdata") On disk, the size of 'A.Rdata' is 0.22 M but the size

[R] object.size vs. workspace size

2014-03-06 Thread Hui Du
Hi All, I have 2 objects, A and B, where object.size(A) = 5M and object.size(B) = 80M. However, after I save those two objects as workspaces, say, save(A, file = "A.Rdata") and save(B, file = "B.Rdata") On disk, the size of 'A.Rdata' is 0.22 M but the size of 'B.Rdata' is 560M. Could someone