Fixed R bug

now it doesn't crash and get confused on bad input
also removed old V2.  There's nothing in that file that isn't in v3