[Rd] Suggestion: Adding quick rowMin and rowMax functions to base package

2010-03-30 Thread Sebastian Kranz
Hi, I wonder whether similarly to the very quick rowSums and colSums functions in the base package, one could add quick functions that calculate the min or max over rows / cols in a matrix. While apply(x,1,min) works, I found out by profiling a program of mine that it is rather slow for

[Rd] Trouble in using rJava

2010-03-30 Thread Nabila Salmi
Hello, I'm using rJava and JRI to call R scripts from my Java code, but my scripts are sometimes executed, and very often they don't run throwing a Java exception. I'm using a 2.7 version of R, with rJava 0.8.4 and Java Sun 1.6. Somebody can help me please ?? Thank you very much, Nabila

Re: [Rd] Suggestion: Adding quick rowMin and rowMax functions to base package

2010-03-30 Thread Henrik Bengtsson
See rowMins(), rowMaxs() and rowRanges() in matrixStats (on CRAN). The matrixStats package was created for the purpose of providing such row*/col*() methods. First the functionality is provided, then the methods are optimized for speed and memory, e.g. vectorizing, implementing in native code,

Re: [Rd] Trouble in using rJava

2010-03-30 Thread Romain Francois
Hello, Please don't post in multiple mailing lists. (this does not improve your chances of getting an answer). I think the best mailing list for this question (although see below) is : http://mailman.rz.uni-augsburg.de/mailman/listinfo/stats-rosuda-devel Le 30/03/10 10:19, Nabila Salmi a

Re: [Rd] [rJava] Trouble in using rJava

2010-03-30 Thread Guido García Bernardo
Hello Nabilia. You should send at least the Java exception to the list. Some code is also welcome. Regards, Guido García On Tue, Mar 30, 2010 at 10:19 AM, Nabila Salmi nabila.sa...@orange-ftgroup.com wrote: Hello, I'm using rJava and JRI to call R scripts from my Java code, but my scripts

Re: [Rd] Possible improvements/clarifications for R-forge (Was: Re: Using SVN + SSH on windows)

2010-03-30 Thread Stefan Theussl
On 03/28/2010 07:28 PM, Christophe Genolini wrote: Wahou! I did not plan to start such a debate... It is really not hard to set it up. I am using a vanilla ssh (rather than putty) and that works fine all the time... The problem is not how hard or easy it is, the problem is how time consuming

[Rd] hist.default()$density

2010-03-30 Thread Martin Becker
Dear developers, the current implementation of hist.default() calculates 'density' (and 'intensities') as dens - counts/(n*h) where h has been calculated before as h - diff(fuzzybreaks) which results in 'fuzzy' values for the density, see e.g. tmp -