I want to use lapply() to print all the elements that I have inside of a list. The following code does that, but the output produced is strange.
lapply()
An option is invisible
invisible
invisible(lapply(N.seq, print)) #[1] 1 #[1] 2 #[1] 3 #[1] 4 #[1] 5
If we want to convert the vector to list,
vector
list
as.list(N.seq)