r named chr to dataframe code example Example: r named chr to dataframe data.frame(as.list(testVect))