[Rd] sort yields different results on OS X (PR#14163)

2009-12-22 Thread jeffreys
Full_Name: Jeffrey Sullivan Version: 2.10 OS: Mac Submission from: (NULL) (130.154.0.250) Sort produces different results when sorting strings with non-alphanumeric characters, depending on the operating system: RHEL 5.2, R 2.10.0 - > v <- c("1","<0",">3","2") > Sys.setlocale("LC_COL

Re: [Rd] sort yields different results on OS X (PR#14163)

2009-12-22 Thread Prof Brian Ripley
As the help says The sort order for character vectors will depend on the collating sequence of the locale in use: see ‘Comparison’. and that ref says Collation of non-letters (spaces, punctuation signs, hyphens, fractions and so on) is even more problematic. That diffe

Re: [Rd] sort yields different results on OS X (PR#14163)

2009-12-22 Thread Peter Dalgaard
Prof Brian Ripley wrote: That different OSes use the same name for a locale does not make them the same locale. Note that R can be compiled to use ICU, which provides a well-considered collation suite. R on Mac OS X uses ICU, as does a Linux build if it is available -- so I would say that

Re: [Rd] choose(n,k) when n is almost integer

2009-12-22 Thread Petr Savicky
On Sat, Dec 19, 2009 at 10:02:49PM +0100, Martin Maechler wrote: > {I've changed the subject; it's really no longer about > lchoose()'s definition} > [...] > > Thanks a lot, Petr, for your explorations. > I agree that at least something like your conservative change > should

Re: [Rd] sort yields different results on OS X (PR#14163)

2009-12-22 Thread Prof Brian Ripley
On Tue, 22 Dec 2009, Peter Dalgaard wrote: Prof Brian Ripley wrote: That different OSes use the same name for a locale does not make them the same locale. Note that R can be compiled to use ICU, which provides a well-considered collation suite. R on Mac OS X uses ICU, as does a Linux bui

[Rd] Rcpp: Clarifying the meaning of GPL?

2009-12-22 Thread Dominick Samperi
I wrote the Rcpp library and the RcppTemplate package to make it easier for developers to contribute packages to the R community. In addition to providing detailed documentation on package creation it provides a clean object mapping between R anc C++ that helps developers to implement packages tha

Re: [Rd] choose(n,k) when n is almost integer

2009-12-22 Thread Petr Savicky
On Sat, Dec 19, 2009 at 10:02:49PM +0100, Martin Maechler wrote: [...] > Have you tried 'make check-devel' (or 'check-all') also with the > progressive change? The patch-B.txt from my previous email passed "make check-all" with the exception of the Tcl/Tk support, which is missing on my computer.

Re: [Rd] Rcpp: Clarifying the meaning of GPL?

2009-12-22 Thread Stavros Macrakis
I am not sure what clause of the GPL you have in mind when you say that "it explicitly states that these changes should not leave misleading impressions about the original developer." Are you perhaps thinking of the passage in Section 7 which says: Notwithstanding any other provision of th

Re: [Rd] Rcpp: Clarifying the meaning of GPL?

2009-12-22 Thread Yihui Xie
I see your name and work are clearly mentioned in the DESCRIPTION file: Rcpp: Rcpp R/C++ interface package R/C++ interface classes and examples The Rcpp library maps data types betweeen R and C++, and includes support for R types real, integer, character, vector, matrix, Date, datetime (i.e. POSI

Re: [Rd] Rcpp: Clarifying the meaning of GPL?

2009-12-22 Thread Dominick Samperi
Stavros Macrakis wrote: That said, as a matter of courtesy and clarity, I'd think that a fork should use a different name. Yes, the point is that this is not a legal or technical matter, it is a matter of professional courtesy. I take this as one vote for the name change. On US copyright law,

Re: [Rd] Rcpp: Clarifying the meaning of GPL?

2009-12-22 Thread Jeff Ryan
This is fantastically off-topic, and has nothing to do with *R*. Out of "courtesy" to this list, the subscribers, and future readers, please take this off-list where it belongs. Jeff On Tue, Dec 22, 2009 at 11:27 PM, Dominick Samperi wrote: > Stavros Macrakis wrote: >> >> That said, as a matter

Re: [Rd] Rcpp: Clarifying the meaning of GPL?

2009-12-22 Thread Mark Kimpel
I don't think this is off-topic, in the sense that it is the contribution of the developers of the multitude of packages available that has led to the success of R. How packages are maintained, forked, etc., is an important issue. I should say that I am not a developer, only a user appreciative of