This error can perhaps come up with multiple problems, but in your case you simply typed a capital C instead of a lowercase c.
Try:
vect <- c(1, NA, 2, 3, 4, NA, 5, NA, 6, 7, 8, NA, 9)
548k questions
547k answers
4 comments
86.3k users