R On Neighbor Goes Wrong