Learn R Programming

notebookutils (version 1.5.3)

mssparkutils.fs.rm: Removes a file or directory.

Description

Removes a file or directory.

Usage

mssparkutils.fs.rm(dir, recurse = FALSE)

Value

FALSE to mimic the result of dir deletion fail.

Arguments

dir

FileSystem URI for a single file or a directory.

recurse

if TRUE, all files and directories will be recursively deleted.

Examples

Run this code
mssparkutils.fs.rm("/tmp/my-folder/", TRUE)

Run the code above in your browser using DataLab