[R] help on strange installation process of JRI / rJava 0.9.0

2011-01-17 Thread Luedde, Mirko
Hi Nidhi, ... On the other hand, I also found that JRI.jar is missing from both of these (piodev...) installations. ... this is resolved now in the /mnt/tools/r installation. Background: When compiling R, one needs to provide an option --enable-R-shlib in order that R is capable of

Re: [R] Parallel Scan of Large File

2010-12-09 Thread Luedde, Mirko
Hi Ryan, the Getting Started with doMC and foreach manual tells me that you might have forgotten a registerDoMC() in the example you provided. Best, Mirko __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

[R] how to find a row index in a matrix or a data frame ?

2010-11-25 Thread Luedde, Mirko
Dear all, this looks pretty much a standard problem, but I couldn't find a satisfying and understandable solution. (A) Given a data frame (or matrix), e.g. x - data.frame(A=c(1, 2, 2), B=c(4, 5, 5)) and a row of this data frame, e.g. r - c(2, 5) I need to find one row

Re: [R] how to find a row index in a matrix or a data frame ?

2010-11-25 Thread Luedde, Mirko
An: Luedde, Mirko Cc: r-help@r-project.org Betreff: Re: [R] how to find a row index in a matrix or a data frame ? rows - which(apply(mapply(x, r, FUN===), MARGIN=1, FUN=all)); /H On Thu, Nov 25, 2010 at 1:59 AM, Luedde, Mirko mirko.lue...@sap.com wrote: Dear all, this looks pretty much a standard