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