I have a list comprised of words.
> head(splitWords2)
[[1]]
[1] \"Some\" \"additional\" \"information\" \"that\" \"we\" \"would\"
You could always stick to grep in the base package for simplicity...
LinesList <- list ( "1"=letters[1:10], "2"=rep(letters[1:3],3) )
CountsA <- grep("[a]", LinesList) # find 'a' in each element of list
length(CountsA) <- length(LinesList) # gives NAs if not counted
data.frame( lineNum = names(LinesList), count = CountsA)