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