Sys.path | R Documentation |
A function that gets the full path of the currently running program. If the function fails to retrieve the path for some reason, it will return a NULL. The function takes no parameters.
Sys.path()
The full path of the currently running program, or a NULL.
Other fileops:
dir.find()
,
file.find()
,
source.all()
# Get current path
pth <- Sys.path()
pth
# [1] "C:/programs/myprogram.R"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.