[Rd] efficiency of sample() with prob.

2005-06-21 Thread Bo Peng
Dear list, A while ago, Vadim asked opinions on improving efficiency of sample() with prob, e.g. sample with replacement with weight. ( https://stat.ethz.ch/pipermail/r-devel/2004-September/030844.html ) He did not post what he ended up with this problem though. I am having exactly the same

Re: [Rd] Open device - glibc 2.3.4 bug for Redhat Enterprise 4?

2005-06-21 Thread Martin Maechler
TL == Thomas Lumley [EMAIL PROTECTED] on Tue, 21 Jun 2005 09:59:31 -0700 (PDT) writes: TL This was supposed to be fixed in 2.1.1 -- which version are you using? 2.1.1 -- and 2.1.0 and 2.0.0 all showed the problem. But thanks, Thomas, looking in NEWS of R-devel showed that there was a

Re: [Rd] Trouble with ifelse and if statement (PR#7962)

2005-06-21 Thread Gabor Grothendieck
On 6/21/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Full_Name: Woolton Lee Version: 2.1 OS: windows Submission from: (NULL) (128.118.224.46) I did the following ('g' and 'h' are both numeric vectors) i - abs(g-h) creating a vector 'i' with values, i [1] 0.08 0.00 0.33 0.00 0.00

Re: [Rd] Trouble with ifelse and if statement (PR#7962)

2005-06-21 Thread MSchwartz
On Wed, 2005-06-22 at 04:46 +0200, [EMAIL PROTECTED] wrote: Full_Name: Woolton Lee Version: 2.1 OS: windows Submission from: (NULL) (128.118.224.46) I did the following ('g' and 'h' are both numeric vectors) i - abs(g-h) creating a vector 'i' with values, i [1] 0.08 0.00 0.33 0.00