Dear All,
While loading the background extent, I am getting the following error:
Error in file.rename(bgShp_path, file.path(pathdir, bgShp_name)) : 'from' and 'to' are of different lengths.
I ran the following code, closely following code obtained from exporting an Rmd of a Wallace GUI session:
bgPath_Pv <- "pathname"
bgExt_Pv <- penvs_userBgExtent(
bgShp_path = paste0(bgPath_Pv, "vector name", ".shp"),
bgShp_name = paste0("vector name", c(".shp", ".shx", ".dbf")),
userBgBuf = 0,
occs = occs_Pv)
Could you tell me why I'm getting this error message?
Regards