'How do I properly use the props = TRUE arguement in the rast() function in terra?
I'm interested in using the props argument when using the rast() function to load raster files into r.
"props: logical. If TRUE the properties (categories and color-table) are kept"
However, I keep getting the following error message:
f <- system.file("ex/elev.tif", package="terra")
r <- rast(f, props = TRUE)
Error in .local(x, ...) : unused argument (props = TRUE)
Does this occur when there are no properties associated with the raster? Or am I doing something wrong?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
