value length 1000 does not match variable R length 3
