vsi_supports_seq_write | R Documentation |
vsi_supports_seq_write()
returns whether the filesystem supports
sequential write.
Wrapper for VSISupportsSequentialWrite()
in the GDAL API.
vsi_supports_seq_write(filename, allow_local_tmpfile)
filename |
Character string. The path of the filesystem object to be tested. |
allow_local_tmpfile |
Logical scalar. |
Logical scalar. TRUE
if sequential write is supported.
The location GDAL uses for temporary files can be forced via the
CPL_TMPDIR
configuration option.
vsi_supports_rnd_write()
# Requires GDAL >= 3.6
if (as.integer(gdal_version()[2]) >= 3060000)
vsi_supports_seq_write("/vsimem/test-mem-file.gpkg", TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.