Re: [R] Memory problem when changing a function

2015-11-27 Thread Marwah Sabry Siam
i didn't write them because I thought it would be long. I am using HPbayes package. I changed mp8.mle function. Two functions depend on this one; loop.optim and prior.likewts, so I changed them and rename them. The memory problem arises when applying the new loop.optim function named loop.optim_m.

Re: [R] Memory problem when changing a function

2015-11-26 Thread John Kane
Perhaps you should tell us what package you were using, what the function was, and how you changed it. Please have a look at http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example and/or http://adv-r.had.co.nz/Reproducibility.html for some suggestions on how to a