env_size | R Documentation |
This function uses object_size from the pryr package to compute the total amount of memory used by objects in an environment.
env_size(env)
env |
The environment whose size is to be computed. |
The names are wrapped in backticks. Otherwise, non-syntactic
names will cause problems. This function is used within
render_one
as part of the runtime stats assessment.
The size in bytes, as a numeric value (scalar).
object_size
e1 <- new.env()
env_size(e1)
evalq(x <- 1:10000L, e1)
env_size(e1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.