RE: FW: [R] Optimising code

2003-10-07 Thread Adaikalavan RAMASAMY
ge- From: Uwe Ligges [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2003 6:18 PM To: Crispin Miller Cc: R-help (E-mail) Subject: Re: FW: [R] Optimising code Crispin Miller wrote: >>>I have a function that applies a wilcoxon test to 12 sets of about a >>>quarter of a

RE: FW: [R] Optimising code

2003-10-07 Thread Crispin Miller
Yup, my mistake for not being very clear! Alas the computer is already very fast - looks like it's C for me... > -Original Message- > From: Patrick Burns [mailto:[EMAIL PROTECTED] > Sent: 07 October 2003 12:00 > Cc: Crispin Miller > Subject: Re: FW: [R] Optimisin

Re: FW: [R] Optimising code

2003-10-07 Thread Uwe Ligges
Crispin Miller wrote: I have a function that applies a wilcoxon test to 12 sets of about a quarter of a million pairs ... and let me guess: everything is significiant to an almost arbitrary value of \alpha? :-) For each of quarter of a million sets, I do a wilcoxon between two pairs each con

FW: [R] Optimising code

2003-10-07 Thread Crispin Miller
>> I have a function that applies a wilcoxon test to 12 sets of about a quarter of a >> million pairs > ... and let me guess: everything is significiant to an almost arbitrary > value of \alpha? :-) For each of quarter of a million sets, I do a wilcoxon between two pairs each containing twent

Re: [R] Optimising code

2003-10-07 Thread Uwe Ligges
Crispin Miller wrote: Hi, Does anyone have any advice on speeding up R functions (short of re-implementing them in C :-) )? Some strategies are in every good book on S/R. I have a function that applies a wilcoxon test to 12 sets of about a quarter of a million pairs ... and let me guess: everyt

[R] Optimising code

2003-10-07 Thread Crispin Miller
Hi, Does anyone have any advice on speeding up R functions (short of re-implementing them in C :-) )? I have a function that applies a wilcoxon test to 12 sets of about a quarter of a million pairs (and takes about 3 hours). I've replaced the inner loop I had originally with a function call via