I have a data frame. Let\'s call him bob:
bob
> head(bob) phenotype exclusion GSM399350 3- 4- 8- 25- 44+
This works for me - I finally figured a one liner
df <- as.data.frame(lapply(df,function (y) if(class(y)=="factor" ) as.character(y) else y),stringsAsFactors=F)