it means that you input c1 must be a numeric number or a vector of numeric type of data. Sometime, your vector is c("1","2","3"), it is NOT a numeric vector, and it looks like it, you could check your vector using is.numeric(c1) to check before applying, exp() function. otherwise, you could  paste your c2 here and someone could have a look.