I have opened r.stats and I cannot find any method/option to
print existing values. It prints numbers of values between
ranges of values among others but no list of values.
try r.category too.
is this a category (integer) or floating point raster map?
or r.out.xyz | sort | uniq
(r.out.xyz is just a wrapper around r.stats -1gn)
Hamish