Learn R Programming

terra (version 0.5-2)

writeVector: Write vector data to a file

Description

Write a SpatVector object to a file.

Usage

# S4 method for SpatVector,character
writeVector(x, filename, overwrite=FALSE, ...)

Arguments

x

SpatVector

filename

character. Output filename

overwrite

logical. If TRUE, filename is overwritten

...

additional arguments. None implemented

Value

SpatVector (invisibly). This function is used for the side-effect of writing values to a file.