I am running into an issue turning my list into an array for further analysis due to the different number of values within the strings as such:
[[1]]
[1] 35 61
[[2]]
[1]  2 11 13
[[3]]
[1] 10 15 35
[[4]]
[1] 35 44 78
[[5]]
[1]  22  86 101
Due to the fact that I have 2 integers in some strings and 3 in other strings, I am unable to turn it into an array.
Ultimately, I would like to create an ifelse statement to insert an NA into the into the list when there are only two integers. 
This is the statement I made:
length = length(list_i1)
list_i1 = ifelse(list_i1[[1:length]][3] != 0:Inf, 
                 list_i1[[1:length]][3] == "NA",
                 list_i1[[1:length]][3] == list_i1[[1:length]][3])
It is returning: Error in list_i1[[1:length]] : recursive indexing failed at level 2