prompt_mem() is a simple example prompt that shows the physical memory
allocated by the current process.
memory_usage() is a utility function that shows memory information
about the current R process and the system. You can use it to create a
custom prompt.
See Also
Other example prompts:
new_prompt_powerline(),
prompt_devtools(),
prompt_fancy(),
prompt_git(),
prompt_runtime(),
prompt_status()