file_exists_remote {qsub}R Documentation

Checks if a local or remote file exists.

Description

Checks if a local or remote file exists.

Usage

file_exists_remote(file, remote = FALSE, verbose = FALSE)

Arguments

file

File path.

remote

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.

verbose

If TRUE prints the command.

Value

TRUE or FALSE indicating whether the file exists.

Examples

## Not run: 
file_exists_remote("~/myfile.csv", remote = "me@myserver")
# [1] TRUE

## End(Not run)

[Package qsub version 1.1.3 Index]