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