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

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to