Open t6166as opened 7 years ago
The backing file is a temporary file used to store data that won't fit in memory. There seems to be code to clear these files after fitting a tree (grow.R
) but it for me it doesn't get called, and bigrf will complain if it finds a file there.
A workaround is to pass either random or different backing file directories for each forest, clearing them manually:
tmp.dir.forest1 <- '/tmp/Rforest1'
unlink(tmp.dir.forest1, recursive = TRUE)
forest1 <- bigrfc(x, y, cachepath=tmp.dir.forest1)
When I tried to created second tree, I get following error:
What is backing file?