> x <- c("True", "False", "False", "False", "True", "True") > as.logical(x) [1] TRUE FALSE FALSE FALSE TRUE TRUE