powered by
Checks if a local or remote file exists.
file_exists_remote(file, remote = FALSE, verbose = FALSE)
File path.
Remote machine specification for ssh, in format such as user@server that does not require interactive password entry. For local execution, pass FALSE (default). For execution on the default qsub config remote, use TRUE.
user@server
FALSE
TRUE
If TRUE prints the command.
TRUE or FALSE indicating whether the file exists.
# NOT RUN { file_exists_remote("~/myfile.csv", remote = "me@myserver") # [1] TRUE # }
Run the code above in your browser using DataLab