Is the only error. I guess that are memory issues because with few images (stack) I am able to do it.
In case that I change the way and I use the following code:
library(sp)
library(raster)
library(Kendall)
library(spatialEco)
setwd("C:\\NDVI_250m_ALL_IMAGES")
rlist=list.files(pattern=".tif$", full.names=T)
rasters=stack(rlist)
rasters
logo.trend <- raster.kendall(rasters, p.value=TRUE, confidence=TRUE)
names(logo.trend) <- c("slope","p.value","LCI","UCI")
plot(logo.trend)
How can I obtain a raster (.tif) just of the "p.value" to open it with a GIS software?