0
band1<-raster(B1)
Error in if (x == "" | x == ".") { : argument is of length zero
4

1 回答 1

0

这表明 B1 是一个空字符串

library(raster)
B1 <- character()
B1
# character(0)
raster(B1)
# Error in if (x == "" | x == ".") { : argument is of length zero
于 2021-03-28T04:33:04.817 回答