home_dir returns a path to the user's home directory. It replaces "~" and should work in both RStudio and RScript as well as on different OS.
The path to the users home directory as a string.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.