Re: [Rd] capabilities() and non-catchable messages

2005-06-21 Thread Prof Brian Ripley
Do you have DISPLAY set pointing to an X11 server you do not have access to? It seems so. The solution is to set your X11 settings properly. This is coming from Xlib (XOpenDisplay, I believe) and so is not an R error or warning, and is not output on an R connection but on a C file. On Mon,

[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 prob

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

2005-06-21 Thread Martin Maechler
We have been using Redhat Enterprise 4, on some of our Linux clients for a while, and Christoph has just found that opening an R device for a file without write permission gives a bad glibc error and subsequent seg.fault: > postscript("/blabla.ps") *** glibc detected *** double free or corruption

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

2005-06-21 Thread Thomas Lumley
This was supposed to be fixed in 2.1.1 -- which version are you using? -thomas On Tue, 21 Jun 2005, Martin Maechler wrote: > We have been using Redhat Enterprise 4, on some of our Linux > clients for a while, > and Christoph has just found that opening an R device for a file > without w

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 t

[Rd] weighted.residuals for glm objects (PR#7961)

2005-06-21 Thread henric . nilsson
Full_Name: Henric Nilsson Version: 2.2.0 (2005-06-20 r34776) OS: Windows 2000 Submission from: (NULL) (213.115.23.26) The help page for `weighted.residuals' states that the function can be used with both `lm' and `glm' objects. However, it's unclear what's meant by the following passage "Weighte

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

2005-06-21 Thread Thomas Lumley
On Tue, 21 Jun 2005, Martin Maechler wrote: >> "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. > > Bu

Re: [Rd] efficiency of sample() with prob.

2005-06-21 Thread Vadim Ogranovich
In his "Introduction to Probability Models" Sheldon Ross describes (sec 11.4.1, 8th edition) the alias method for such weighted sampling. It is based on some decomposition of the original distribution (the weights) into a mixture of two-point distributions. I don't know the run-time complexity of t

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

2005-06-21 Thread wwl107
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 0.00 0.00 0.33 0.00 0.00 0.08 0.08 0.20 0.00 0.13 Now, I want t

[Rd] Data you can use student (PR#7963)

2005-06-21 Thread fianait
Our Missions : to be the sincere internet merchant on repliica goods who is dedicated on our top-tier product quality, error-free logistics accuracy and hassle-free after-sale customer service, with the knowledge and skills of being a manufacturer since 2002. http://xyie.timedividendwind.com/re/

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

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.