Re: [Rd] Unicode whitespace

2008-01-05 Thread hadley wickham
On Jan 5, 2008 1:40 AM, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: > I presume you want this only in a UTF-8 locale? Yes, although my assumption is that this will become an increasing common locale as time goes by. > Currently this is done by > > static int SkipSpace(void) > { > int c; >

Re: [Rd] nls (with SSlogis model and upper limit) never returns (PR#10544)

2008-01-05 Thread Gabor Grothendieck
On my Windows Vista system it returns an answer: > values <- list(x=10:30, y=c(23.85, 28.805, 28.195, 26.23, 25.005, 20.475, + 17.33, 14.97, 11.765, 8.857, 5.3725, 5.16, 4.2105, 2.929, 2.174, 1.25, 1.0255, + 0.612, 0.556, 0.4025, 0.173)) > y.max <- max(values$y) > model <- nls(y ~ SSlogis(x, asym,

Re: [Rd] is(x, "parent") returns FALSE when class(x) is c("child", "parent") (PR#10549)

2008-01-05 Thread Martin Maechler
> "TP" == Tony Plate <[EMAIL PROTECTED]> > on Sat, 05 Jan 2008 12:11:46 -0700 writes: TP> [EMAIL PROTECTED] wrote: >>> "TimH" == timh <[EMAIL PROTECTED]> >>> on Sat, 5 Jan 2008 02:05:08 +0100 (CET) writes: >>> >> TimH> is() does not catch parent

Re: [Rd] is(x, "parent") returns FALSE when class(x) is c("child", "parent") (PR#10549)

2008-01-05 Thread John Chambers
You and Martin are not really saying anything different, IMO. Martin I think is using "class inheritance" to mean inheritance inferred from class definitions, which S3 classes don't have. What inherits() does could technically be called "instance inheritance", that is, inheritance inferred fro

[Rd] Rscript argument processing minor bug with -g

2008-01-05 Thread Dan Davison
I think there's a minor bug in the argument-processing carried out by Rscript. The effect is that if one passes "-g" as a flag to the script, it is erroneously exposed to the main executable's argument processing and therefore generates a message about not being able to comply with the request f

Re: [Rd] is(x, "parent") returns FALSE when class(x) is c("child", "parent") (PR#10549)

2008-01-05 Thread Tony Plate
[EMAIL PROTECTED] wrote: >> "TimH" == timh <[EMAIL PROTECTED]> >> on Sat, 5 Jan 2008 02:05:08 +0100 (CET) writes: >> > > TimH> is() does not catch parent S3 classes: > > >> library(splines) > >> temp <- bs(1:99, df=5) > >> class(temp) > TimH> [1] "

Re: [Rd] Addendum: nls (with SSlogis model and upper li mit) never returns (PR#10548)

2008-01-05 Thread Ben Bolker
gmx.net> writes: > > Peter Dalgaard reminded me to be more specific about my computing platform; it's Debian 4.1.1-19 on a > 32-bit Pentium 4 machine (Dell Optiplex GX620). > > The problem I described (nls not returning) also occurs with different > data at > other values of the scal paramete

Re: [Rd] is(x, "parent") returns FALSE when class(x) is c("child", "parent") (PR#10549)

2008-01-05 Thread maechler
> "TimH" == timh <[EMAIL PROTECTED]> > on Sat, 5 Jan 2008 02:05:08 +0100 (CET) writes: TimH> is() does not catch parent S3 classes: >> library(splines) >> temp <- bs(1:99, df=5) >> class(temp) TimH> [1] "bs""basis" >> is(temp, "basis") TimH> [1] FALSE

Re: [Rd] nls (with SSlogis model and upper limit) never returns (PR#10544)

2008-01-05 Thread maechler
> "PD" == Peter Dalgaard <[EMAIL PROTECTED]> > on Fri, 04 Jan 2008 18:23:33 +0100 writes: PD> [EMAIL PROTECTED] wrote: >> Full_Name: Hendrik Weisser >> Version: 2.6.1 >> OS: Linux >> Submission from: (NULL) (139.19.102.218) >> >> >> The following compu