The vector is like this:
c(1,2,3) #[1] 1 2 3
I need something like this:
list(1,2,3) #[[1]] #[1] 1 # #[[2]] #[1] 2 # #[[3]]
Simple, just do this:
as.list(c(1,2,3))