[Rd] Possible bug in Spearman correlation with use="pairwise.complete.obs"

2011-01-22 Thread Simon Anders
es: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] pspearman_0.2-5 SuppDists_1.1-8 loaded via a namespace (and not attached): [1] tools_2.12.0 +--- | Dr. Simon Anders, Dipl.-Phys. | European Molecular Biology Laboratory (EMBL), Heide

[Rd] R_ext manual: type cast in C function registra tion

2010-01-07 Thread Simon Anders
3}, {NULL, NULL, 0} }; in order to get rid of an unnecessary compiler warning. Cheers Simon +--- | Dr. Simon Anders, Dipl.-Phys. | European Molecular Biology Laboratory (EMBL), Heidelberg | office phone +49-6221-387-8632 | preferred (permanent) e-mail: sand...@fs.tum.de ___

Re: [Rd] Possible bug: How does libR.so find RHOME?

2009-04-06 Thread Simon Anders
Hi please disregard the previous mail; I realized that my conclusion that the bug is in R and not in Rpy2, was quite wrong, as I just noticed after abit more thinking. The problem is at a pretty obvious place in RPy2's initialization routine. I'll ask the RPy2 mailing list for help. Simon

[Rd] Possible bug: How does libR.so find RHOME?

2009-04-06 Thread Simon Anders
e: An application (let alone a shared library) should not rely on the names of symlinks in the user's search path. Best regards Simon +--- | Dr. Simon Anders, Dipl. Phys. | European Bioinformatics Institute, Hinxton, Cambridgeshire, UK | office phone +44-1223-492680, mobile phone +44-7505-8

Re: [Rd] Rterm.exe, windows event loop running in multiple threads?

2008-09-18 Thread Simon Anders
t.) Could this be the problem for you as well? [Thinking a bout this again: Why, actually, do we need a second thread. Could we not set up a Windows timer that dispatches a message to the main thread's event handler peridoically to trigger a polling of the Gtk event loop?] Simon +---

[Rd] manual 'Writing R Extensions': bug in example

2008-04-06 Thread Simon Anders
l.i); 30break; 31 case STRSXP: 32Rprintf("[%d] '%s' %s\n", i+1, name, 33 CHAR(STRING_ELT(CAR(args), 0))); 34 break; 35 default: 36Rprintf("[%d] '%s' R type\n", i+1, name); 37 } 38} 39return(R_N

Re: [Rd] (PR#11054) "Writing R Extensions": bad example with CAR

2008-04-01 Thread anders
led with USE_RINTERNALS, may use "CAR(a)=b", which expands to the more efficient macro. Now, you say that this should have nothing to do with R_USEINTERNALS, and that the code snippet in the manual should compile without it as well. This leaves me confused. Should the code in the manual

Re: [Rd] (PR#11054) "Writing R Extensions": bad example with CAR

2008-04-01 Thread anders
x27; but then gives an example that only works when this macro is defined, without even pointing out this requirement. I merely wanted to suggest adding a little note to the manual at this point to make the matter easier for the reader. Best regards Simon Anders ___

Re: [Rd] 'merge' function: behavior w.r.t. NAs in the key column

2008-03-19 Thread Simon Anders
r as inconsistent, and hence ask R's 'merge' function to be fixed? Cheers Simon > On Fri, 14 Mar 2008, Simon Anders wrote: >> I recently ran into a problem with 'merge' that stems from the way how >> missing values in the key column (i.e., the column specifie

[Rd] 'merge' function: behavior w.r.t. NAs in the key column

2008-03-14 Thread Simon Anders
did not include any rows into the output with an "NA" in the key column. Maybe, one could add a flag argument to 'merge' to switch between this behaviour and the current one? A note in the help page might be nice, too. Best regards Simon +--- | Dr. Simon Anders, Dipl. P

[Rd] Rmath library problems

2005-07-25 Thread Anders Brix Jensen
this to me? Thanks, Anders ___ Vi goer opmaerksom paa, at denne e-mail kan indeholde fortrolig information. Hvis du ved en fejltagelse modtager e-mailen, beder vi dig venligst informere afsender om fejlen ved at bruge svar-funktionen. Samtidig beder vi dig slette e-mailen i dit system