add character option to == in R (but still fails because strings unsupported)