r convert a list into a vector code example Example: list to vector r unlist(myList, use.names=FALSE)