Having a little trouble wrapping my head around what is returned by map
map(1:3, print)
[1] 1
[1] 2
[1] 3
[[1]]
[1] 1
[[2]]
[1] 2
[[3]]
[1] 3
The first three outputs make sense, as they match what is returned from manually putting in
print(1)
print(2)
print(3)
Following this it seems to be some kind of nested list. Is there any way to get just one or the other?
Any help would be appreciated!