objectSize.Object | R Documentation |
Gets the size of the Object in bytes by summing the sizes of all its members. For this reason, the size of memory the Object actually allocates might vary slightly.
## S3 method for class 'Object'
objectSize(this, ...)
... |
Not used. |
Returns an integer
specifying the size of the object in number of bytes.
Henrik Bengtsson
To clear fields that are declared cached
,
see *clearCache()
.
object.size
.
For more information see Object
.
obj <- Object()
obj$x <- 1:100
obj$y <- 100:1
objectSize(obj) # 856
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.