Hi Sandip, > Sorry for the wrong interpretation. So how to avoid that ? I mean how to > forcefully make it character vector ? As indicated by Joshua, ?data.frame will show you the way: df <- data.frame(gender, age, stringsAsFactors = FALSE) Best, /g