Learn R Programming

notebookutils (version 1.5.3)

notebookutils.fs.exists: Check if a file or directory exists.

Description

Check if a file or directory exists.

Usage

notebookutils.fs.exists(file)

Value

TRUE if the file or directory exists

Arguments

file

FileSystem URI

Examples

Run this code
if (FALSE) {
notebookutils.fs.exists("/tmp/my-file")
}

Run the code above in your browser using DataLab