View source: R/transform_variables.R
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.
1 | home_dir()
|
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.