mem_change | R Documentation |
Determine change in memory from running code
mem_change(code)
code |
Code to evaluate. |
Change in memory (in megabytes) before and after running code.
# Need about 4 mb to store 1 million integers mem_change(x <- 1:1e6) # We get that memory back when we delete it mem_change(rm(x))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.