printallargs1 <- function(...) list(...) printallargs1(1:5, "abc", TRUE) # [[1]] # [1] 1 2 3 4 5 # # [[2]] # [1] "abc" # # [[3]] # [1] TRUE