Displaying 1 result from an estimated 1 matches for "dataframetosearchin".
2006 Aug 07
1
Running out of memory when using lapply
...acters. I want to take each element at a
time, map it to a large data frame with
hit=which(data.frame$column==elementFromList), then compute some
statistic on data.frame[hit,] and return a result that consists of
either 1) a list of integers or 2) a character.
res=lapply(listof40000,myfunction,dataframeToSearchIn)
On a small scale, this works and returns something like
str(res)
[[1]]
[1] "UNIQUE"
[[2]]
[1] 405 406 407 16351
[[3]]
[1] "REMOVE"
[[4]]
[1] "REMOVE"
If I try this with the entire 40 000 character list, though, I get the
"Reached total allocation of 102...