tryPath {systemPipeR} | R Documentation |
Function to check if the full path (file or directory) exists.
tryPath(path)
path |
a character vector of full path name. |
This function produces a character vector of the file or directory name defined on the path
argument.
A character vector containing the name of the file or directory. If the path does not exist, it will return an error message.
Daniela Cassol
## Not run: library(systemPipeRdata) file <- system.file("extdata/workflows/rnaseq", "systemPipeRNAseq.Rmd", package="systemPipeRdata") tryPath(path=file) ## End(Not run)