use stringsAsFactors = FALSE when constructing the data frame for the subsetting operation