mssparkutils.fs.put {notebookutils}R Documentation

Writes the given String out to a file, encoded in UTF-8.

Description

Writes the given String out to a file, encoded in UTF-8.

Usage

mssparkutils.fs.put(file, content, overwrite = FALSE)

Arguments

file

FileSystem URI.

content

Content of file to write, encoded in System default charset.

overwrite

If set to TRUE, the file will be overwritten if it existed already. Note that if overwrite is TRUE and the the write fails, the original file. may still be deleted.

Value

FALSE to mimic the result of file put operation fail.

Examples

mssparkutils.fs.put("/tmp/my-file", "Hello world!", TRUE)


[Package notebookutils version 1.5.3 Index]