I used the Nimble package to compile part of a program code in R. Then in another part of the program code, the compiled functions were used for processing large data in parallel using %dopar% and doParalell package. However, %dopar% is unable to identify the compiled functions, and the program fails after 12 hours of execution. I don't understand the reason for this. Can anyone help me to fix the issue?
The number of cores used for parallel processing is 2.
The total number of processor cores is 4.