Error in setValues(outras, as.vector(v)) : could not find symbol "values" in environment of the generic function

library(raster)
library(rasterVis)
library(rgdal)
library(sp)
library(RStoolbox)
library(sf)
library(maptools)
meta <- readMeta("LC08_L1TP_170078_20170329_20170414_01_T1_MTL.txt")
summary(meta)
# Then using the stackMeta function to Stack all the bands together
landsat <- stackMeta(meta)
landsat

landsat8 <- dropLayer(landsat, c(8,9,10))
landsat8
plotRGB(landsat8)

L8_radParameters <- meta$CALRAD
L8_radParameters

I keep getting an Error in setValues(outras, as.vector(v)) : could not find symbol "values" in environment of the generic function message. I tried using other plot functions and the problem is still the same. Please help.
I cannot seem to upload the data that I am working with

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.