Re: [Rd] reorder [stats] and reorder.factor [lattice]

2004-09-13 Thread Martin Maechler
> "DeepS" == Deepayan Sarkar <[EMAIL PROTECTED]> > on Mon, 13 Sep 2004 14:54:52 -0500 writes: DeepS> Before it's too late for R 2.0.0, do we have a final decision yet on DeepS> having a reorder method for "factor" in stats? Since the thread is quite a bit old, (and I have bee

Re: [Rd] Wishlist: axis() and line widths (PR#7223)

2004-09-13 Thread ligges
[EMAIL PROTECTED] wrote: > Full_Name: Tom Short > Version: 1.9.1 > OS: Win2000 & Debian > Submission from: (NULL) (64.65.255.41) > > > WISHLIST: > > axis() has a default parameter of "lwd = 1". I want skinnier lines as the > default. If I change the default lty, it doesn't change what axis uses

Re: [Rd] memory allocation questions

2004-09-13 Thread Prof Brian Ripley
On Tue, 14 Sep 2004 [EMAIL PROTECTED] wrote: > My second question is: > > if I do use the R replacements, what are their names nowadays? > R-EXTS refers to Calloc, Realloc and Free, but these aren't exported by > R.DLL (for R1.9.0 or 1.9.1) and I couldn't find mention of any name > change in th

[Rd] memory allocation questions

2004-09-13 Thread Mark.Bravington
Dear R-devel This one seems a bit arcane for R-help. I very often use R to call routines written in Delphi (son of Pascal), doing "persistent" memory allocation within Delphi. That is, I start R and load the Delphi DLL; then I use .C to call a Delphi routine which allocates a piece of memory X

Re: [Rd] Problem with mle in stats4 (R 1.9.1)

2004-09-13 Thread Peter Dalgaard
Peter Dalgaard <[EMAIL PROTECTED]> writes: > > (original posting with quick workaround > > http://tolstoy.newcastle.edu.au/R/help/04/07/1778.html) > > Could well be fix, not just workaround Given that optim wasn't > designed to be able to hold arguments constant, any fix is going to be > some

RE: [Rd] (PR#7225) propogation of rounding error for t.tests with unequal sample sizes (PR#7225)

2004-09-13 Thread Tucker-Kellogg, Gregory
Thanks, I'm sure our users will welcome it. This is also the fastest bug response I've ever seen on any software, and much appreciated. GTK >-Original Message- >From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] >Sent: Monday, September 13, 2004 4:14 PM >To: Tucker-Kellogg, Gregory >C

RE: [Rd] (PR#7225) propogation of rounding error for t.tests with unequal sample sizes (PR#7225)

2004-09-13 Thread Prof Brian Ripley
I am seeing NaNs, which is more sensible. We will add a test for stderr small compared to the larger group mean. On Mon, 13 Sep 2004, Tucker-Kellogg, Gregory wrote: > > My apologies for not including the transcript in the original message: > > > xx <- rep(2.10,80) > > groups.balanced <- as.fac

RE: [Rd] (PR#7225) propogation of rounding error for t.tests with unequal sample sizes (PR#7225)

2004-09-13 Thread Tucker-Kellogg, Gregory
My apologies for not including the transcript in the original message: > xx <- rep(2.10,80) > groups.balanced <- as.factor(c(rep("one",40),rep("two",40))) > groups.unbalanced <- as.factor(c(rep("one",44),rep("two",36))) > t.test(xx ~ groups.balanced) Welch Two Sample t-test data: xx by

Re: [Rd] (PR#7225) propogation of rounding error for t.tests with unequal sample sizes (PR#7225)

2004-09-13 Thread Prof Brian Ripley
What are you seeing here? I get identical results in the two cases. On Mon, 13 Sep 2004 [EMAIL PROTECTED] wrote: > > # users would benefit from a warning about the behavior in the > # groups.unbalanced case below. A propogation of difference is the variance > # calculation is leading to an app

Re: [Rd] reorder [stats] and reorder.factor [lattice]

2004-09-13 Thread Deepayan Sarkar
Before it's too late for R 2.0.0, do we have a final decision yet on having a reorder method for "factor" in stats? Deepayan On Friday 03 September 2004 11:36, Warnes, Gregory R wrote: > I also have a reorder.factor defined in the gregmisc package. It has > a slighly different behavior. > It a

Re: [Rd] bitmap() doesn't finish with file in Windows (PR#7224)

2004-09-13 Thread Prof Brian Ripley
This is deliberate, as processing can take a long time and we don't want to lock R whilst a printer prints a file for example. Just insert a sleep(1). It certainly is not a bug, as no one said you would be able to access a file immediately. On Mon, 13 Sep 2004 [EMAIL PROTECTED] wrote: > Full_N

[Rd] propogation of rounding error for t.tests with unequal sample sizes (PR#7225)

2004-09-13 Thread tucker
# users would benefit from a warning about the behavior in the # groups.unbalanced case below. A propogation of difference is the variance # calculation is leading to an apparently significant difference in # means, even though the numeric values are all identical. Obviously upon # inspection th

[Rd] bitmap() doesn't finish with file in Windows (PR#7224)

2004-09-13 Thread t . short
Full_Name: Tom Short Version: 1.9.0 OS: Win2000 Submission from: (NULL) (64.65.255.41) POSSIBLE WISHLIST, POSSIBLE BUG: The following code works on Debian, but fails on Windows 2000 with 'Error in file("test.png", "r") : unable to open connection': bitmap("test.png") plot(c(1,2,3)) dev.off() x

[Rd] Wishlist: axis() and line widths (PR#7223)

2004-09-13 Thread t . short
Full_Name: Tom Short Version: 1.9.1 OS: Win2000 & Debian Submission from: (NULL) (64.65.255.41) WISHLIST: axis() has a default parameter of "lwd = 1". I want skinnier lines as the default. If I change the default lty, it doesn't change what axis uses. The following code produces a graph with a

Re: [Rd] Problem with mle in stats4 (R 1.9.1)

2004-09-13 Thread Peter Dalgaard
"Daniel Hoppe" <[EMAIL PROTECTED]> writes: > Hi! > > This is a repost of an earlier message (with a clearer example > demonstrating the problem I ran into). If you run the mle example in > stats4 > This happens because optim gets the old ndeps but just one variable to > optimize. The optim e

Re: [Rd] Problem with mle in stats4 (R 1.9.1)

2004-09-13 Thread Prof Brian Ripley
We are currently on R 2.0.0 alpha. If you submit a bug fix, preferably this week and at the latest next week, it will be considered for 2.0.0. Please take seriously that R is an open project and does not have `staff' to fix bugs. If you think it is worth fixing, please fix it for us by providi

[Rd] Problem with mle in stats4 (R 1.9.1)

2004-09-13 Thread Daniel Hoppe
Hi! This is a repost of an earlier message (with a clearer example demonstrating the problem I ran into). If you run the mle example in stats4 library(stats4) x <- 0:10 y <- c(26, 17, 13, 12, 20, 5, 9, 8, 5, 4, 8) ll <- function(ymax=15, xhalf=6) -sum(stats::dpois(y,