mssparkutils.fs.head {notebookutils} | R Documentation |
Returns up to the first 'maxBytes' bytes of the given file as a String encoded in UTF-8.
Description
Returns up to the first 'maxBytes' bytes of the given file as a String encoded in UTF-8.
Usage
mssparkutils.fs.head(file, maxBytes = 65535)
Arguments
file |
FileSystem URI |
maxBytes |
Maximum number of bytes to read |
Value
Empty string to mimic the returned content of file
.
Examples
mssparkutils.fs.head("/tmp/my-folder/my-file")
mssparkutils.fs.head("/tmp/my-folder/my-file", 1000)
[Package notebookutils version 1.5.3 Index]