declar isVectorNonpointer in Rinternals.h