Re: [Rd] median and data frames

2011-10-08 Thread Martin Maechler
> Martin Maechler > on Fri, 29 Apr 2011 16:25:09 +0200 writes: > Paul Johnson > on Thu, 28 Apr 2011 00:20:27 -0500 writes: >> On Wed, Apr 27, 2011 at 12:44 PM, Patrick Burns >> wrote: >>> Here are some data frames: >>> >>> df3.2 <- data.frame(1:3, 7

Re: [Rd] Pb building sets of S4 / RefClass objects with package "sets"

2011-10-08 Thread Martin Maechler
There is no visible reason why you should ask this on R-devel. Please do not misuse R-deve, but rather use R-help. > "JP" == Johnny Paulo > on Fri, 7 Oct 2011 18:01:56 +0100 writes: > Hi, does anyone know if it is possible to construct sets > of S4 objects? It seems the con

Re: [Rd] parallel::mclapply() dummy function on Windows?

2011-10-08 Thread John Fox
Dear Brian, > -Original Message- > From: Prof Brian Ripley [mailto:rip...@stats.ox.ac.uk] > Sent: October-08-11 9:57 AM > To: John Fox > Cc: 'Martin Morgan'; ttri...@usc.edu; 'r-devel' > Subject: RE: [Rd] parallel::mclapply() dummy function on Windows? > > On Sat, 8 Oct 2011, John Fox wro

Re: [Rd] parallel::mclapply() dummy function on Windows?

2011-10-08 Thread Prof Brian Ripley
On Sat, 8 Oct 2011, John Fox wrote: Dear Martin, I don't have an opinion about whether what Tim wants to do is a good idea, but was responding to his comment that he would need "parallel=FALSE flags all over the place." Why could he not simply define mclapply <- if (.Platform$OS.type =

Re: [Rd] BitSet equivalent? Java code usable?

2011-10-08 Thread Uwe Ligges
On 07.10.2011 19:01, Joachim Harloff wrote: Hi all, I consider writing a R package on statistics for the sorting method as a hobby. I have written a private Java application that I could use as a basis. Therefore I'd like to ask two questions: 1) logical vectors: Bit storage (small) and cap

Re: [Rd] parallel::mclapply() dummy function on Windows?

2011-10-08 Thread John Fox
Dear Martin, I don't have an opinion about whether what Tim wants to do is a good idea, but was responding to his comment that he would need "parallel=FALSE flags all over the place." Why could he not simply define mclapply <- if (.Platform$OS.type == "windows") base::lapply else parallel

Re: [Rd] parallel::mclapply() dummy function on Windows?

2011-10-08 Thread Martin Morgan
On 10/07/2011 06:03 PM, John Fox wrote: Dear Tim, -Original Message- From: r-devel-boun...@r-project.org [mailto:r-devel-boun...@r-project.org] On Behalf Of Tim Triche, Jr. Sent: October-07-11 3:05 PM To: Prof Brian Ripley Cc: r-devel Subject: Re: [Rd] parallel::mclapply() dummy funct

[Rd] Pb building sets of S4 / RefClass objects with package "sets"

2011-10-08 Thread Johnny Paulo
Hi, does anyone know if it is possible to construct sets of S4 objects? It seems the constructor set does not like it: Error in as.vector(x, "character") : cannot coerce type 'environment' to vector of type 'character' Regards Johnny PS: by the way, does anyone know where I can find some exa

[Rd] BitSet equivalent? Java code usable?

2011-10-08 Thread Joachim Harloff
Hi all, I consider writing a R package on statistics for the sorting method as a hobby. I have written a private Java application that I could use as a basis. Therefore I'd like to ask two questions: 1) logical vectors: Bit storage (small) and capable of bit operations? The Java application rel