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

2011-10-06 Thread Prof Brian Ripley
On Thu, 6 Oct 2011, Tim Triche, Jr. wrote: Hi all, Would it be possible to have the new 'parallel' library export a dummy function, something akin to if(Windows) mclapply <- lapply to paper over the lack of fork() support on said platform? This may not be the world's greatest idea, but it wo

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

2011-10-06 Thread Tim Triche, Jr.
Hi all, Would it be possible to have the new 'parallel' library export a dummy function, something akin to if(Windows) mclapply <- lapply to paper over the lack of fork() support on said platform? This may not be the world's greatest idea, but it would make it easier for me to maintain my packa

Re: [Rd] multiple defines of diag

2011-10-06 Thread Kasper Daniel Hansen
On Thu, Oct 6, 2011 at 1:19 PM, Terry Therneau wrote: > > On Thu, 2011-10-06 at 10:00 -0400, Kasper Daniel Hansen wrote: >> if you're using two packages that both define a diag function/method >> you absolutely _have_ to resolve this using your NAMESPACE.  [Update: >> I see both are methods.  I ac

Re: [Rd] Question about Rweb

2011-10-06 Thread Simon Urbanek
On Oct 6, 2011, at 12:20 PM, Dirk Eddelbuettel wrote: > > On 6 October 2011 at 09:37, Jay Emerson wrote: > | Ted, > | > | Simon may be biased, but I am not. I'm barely a few days into > | Rserve/FastRWeb and am blown away (and frustrated that I didn't have a > | good excuse to give it a try so

Re: [Rd] multiple defines of diag

2011-10-06 Thread Terry Therneau
On Thu, 2011-10-06 at 10:00 -0400, Kasper Daniel Hansen wrote: > if you're using two packages that both define a diag function/method > you absolutely _have_ to resolve this using your NAMESPACE. [Update: > I see both are methods. I actually don't know what happens when you > have the same gener

Re: [Rd] cbind() crashes on raw vectors

2011-10-06 Thread Hervé Pagès
On 11-09-25 01:06 PM, Simon Urbanek wrote: Thanks, now fixed. Thanks Simon, H. Simon On Sep 23, 2011, at 4:46 PM, Hervé Pagès wrote: Hi, cbind() doesn't seem to like raw vectors: df<- cbind(a=integer(4000), b=raw(4000)) df *** glibc detected *** /home/hpages/R-2.13.1/bin/exec/R: mallo

Re: [Rd] Question about Rweb

2011-10-06 Thread Jay Emerson
Simon or Jeff had best answer your latter query on strengths/weaknesses of each model. I could hazard a guess, but would probably be wrong. !-) I can't send attachments here, so decided to put the draft on my blog and will revise as needed. Feedback welcome, and I need to make it friendlier and

Re: [Rd] Question about Rweb

2011-10-06 Thread Dirk Eddelbuettel
On 5 October 2011 at 21:54, Simon Urbanek wrote: | Ubuntu is currently the most popular and works out of the box on most machines. Personally, I prefer Debian on servers, but there is not a big difference. Ubuntu also comes in at least four flavours: ubuntu (Gnome look), kubuntu (KDE), xub

Re: [Rd] Question about Rweb

2011-10-06 Thread Dirk Eddelbuettel
On 6 October 2011 at 09:37, Jay Emerson wrote: | Ted, | | Simon may be biased, but I am not. I'm barely a few days into | Rserve/FastRWeb and am blown away (and frustrated that I didn't have a | good excuse to give it a try sooner). I'm still in the process of | refining my setup (including a f

Re: [Rd] multiple defines of diag

2011-10-06 Thread Kasper Daniel Hansen
Terry, if you're using two packages that both define a diag function/method you absolutely _have_ to resolve this using your NAMESPACE. [Update: I see both are methods. I actually don't know what happens when you have the same generic in both packages] And yes, there is both an importClassesFro

Re: [Rd] Question about Rweb

2011-10-06 Thread Jay Emerson
Ted, Simon may be biased, but I am not. I'm barely a few days into Rserve/FastRWeb and am blown away (and frustrated that I didn't have a good excuse to give it a try sooner). I'm still in the process of refining my setup (including a fresh installation of Apache2 on my Ubuntu box), and have doc

[Rd] multiple defines of diag

2011-10-06 Thread Terry Therneau
The current coxme code has functions that depend on bdsmatrix and others that depend on Matrix, both those pacakges define S4 methods for diag. When loaded, the message appears: replacing previous import ‘diag’ when loading ‘Matrix’ Questions: 1. Do I need to worry about this? If so, what c