Phil Spector wrote: > Jahan - > Try > > dat$target = toupper(dat$target) Note that in this case, the above *will* coerce dat$target to a character vector, which may or may not be what is intended.