notebookutils.fs.append {notebookutils}R Documentation

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

Description

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

Usage

notebookutils.fs.append(file, content, createFileIfNotExists = FALSE)

Arguments

file

FileSystem URI

content

Content needs to be append to file, encoded in System default charset.

createFileIfNotExists

If set to true, will firstly try to create file if not exists.

Value

FALSE to mimic the result if file content append fail.

Examples

notebookutils.fs.append("/tmp/my-file", "Hello world!")
notebookutils.fs.append("/tmp/my-file", "Hello world!", TRUE)


[Package notebookutils version 1.5.3 Index]