Skip to content
Prev 27231 / 29559 Next

Selecting a range of longitude and latitudes

It appears that you might have mistakenly typed cbind(103:110, 3:16)
instead of cbind(103:116, 3:16).  Regardless, the warning is telling you
that the vectors were of unequal lengths and there was some recycling.  You
can learn about recycling rule from searching "recycling rule in R" and
also from R's Introduction manual at
https://cran.r-project.org/doc/manuals/r-release/R-intro.html#The-recycling-rule
.

HTH,
Vijay

On Thu, Apr 18, 2019 at 8:38 PM rain1290--- via R-sig-Geo <
r-sig-geo at r-project.org> wrote: