Re: [R] R Code Execution taking forever

2022-04-24 Thread Paul Bernal
n with run time and trial size should let you > estimate run time for 1 million. > > > Tim > > -Original Message- > From: R-help On Behalf Of Rui Barradas > Sent: Sunday, April 24, 2022 5:44 AM > To: Paul Bernal ; R > Subject: Re: [R] R Code Execution taking

Re: [R] R Code Execution taking forever

2022-04-24 Thread Ebert,Timothy Aaron
ial size should let you estimate run time for 1 million. Tim -Original Message- From: R-help On Behalf Of Rui Barradas Sent: Sunday, April 24, 2022 5:44 AM To: Paul Bernal ; R Subject: Re: [R] R Code Execution taking forever [External Email] Hello, I'm having trouble running

Re: [R] R Code Execution taking forever

2022-04-24 Thread Rui Barradas
Hello, Thanks for the link, the package is TeachingDemos, it's the function that's named dice. And the source code shows that it calls sample() in a way similar to mine, so the code I posted should give approximately the same results. To run just once, change to K <- 1L, right before the mai

Re: [R] R Code Execution taking forever

2022-04-24 Thread Rui Barradas
Hello, I'm having trouble running the code, where does function dice come from? CRAN package dice only has two functions, getEventProb getSumProbs not a function dice. Can you post a link to where the package/function can be found? Rui Barradas Às 02:00 de 24/04/2022, Paul Bernal escreveu:

Re: [R] R Code Execution taking forever

2022-04-23 Thread Jim Lemon
HI Paul, I had a problem a bit like this when trying to implement the Lim-Wolfe imputation for ranks. The size of the output matrix increases exponentially with the size of the initial matrix and it goes into disk-swapping slow motion. It works for small matrices, but rapidly runs out of memory. I