ssh_path | R Documentation |
This function provides a consistent means across OS-types to access the
.ssh
directory.
ssh_path(file = "")
file |
basename of file for which path is requested |
On Windows-based systems,
path.expand("~")
returns "C:/Users/username/Documents"
,
whereas the usual path to the .ssh
directory is
"C:/Users/username"
.
On other operating systems, path.expand("~")
returns the usual path
to the .ssh
directory.
Calling ssh_path()
with no arguments will return the usual path to
the .ssh
directory.
Full path to the file
ssh_path()
ssh_path("is_rsa.pub")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.