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