powered by
getScriptPath returns the full path of the script that called this function (if any) or NULL if path is not available
getScriptPath
getScriptPath(absolute = TRUE)
Return absolute path (absolute = TRUE, default) or path relative to working directory (FALSE)
# NOT RUN { mypath <- getScriptPath() # } # NOT RUN { # }
Run the code above in your browser using DataLab