mount | R Documentation |
This function detects via nodename whether the script is run from a server or locally with the server system mounted. This function basically returns the mountpoint string if the user (as detected by Sys.info) is not a server. This is useful when constructing file paths, since the same code will still get correct files if mounted via sshfs.
mount(
server = c("esrumweb01fl.unicph.domain", "esrumhead01fl.unicph.domain"),
mountpoint = "~/esrum"
)
server |
server nodename |
mountpoint |
Path to sshfs mountpoint. |
Appropriate prefix for file locations on server.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.