0

I am iterating through a list of files to find a list of elements from each file.

When I use rbind, the resulting dataframe consists of the shortest list that was found in one of the iteration.

I also do bunch of other operations with the files, so I really need to do it in a loop. Other similar questions have solutions that remove the loop itself. Like plyr::ldply(word.list, rbind) from How to convert a list consisting of vector of different lengths to a usable data frame in R?

I am looking for a solution where I can append each list from each iteration into a dataframe

Yulia Kentieva
  • 433
  • 3
  • 10

0 Answers0