str_dirname | R Documentation |
Extract directory path from a file path.
str_dirname(x)
x |
(chr) A path to a filename. |
Just a thin wrapper for base::dirname()
.
A character.
dir(getwd(), full.names = T) %>% str_dirname()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.