[Rd] Multiple return values / bug in rpart?

2013-08-12 Thread Justin Talbot
In the recommended package rpart (version 4.1-1), the file rpartpl.R contains the following line: return(x = x[!erase], y = y[!erase]) AFAIK, returning multiple values like this is not valid R. Is that correct? I can't seem to make it work in my own code. It doesn't appear that rpartpl.R is used

Re: [Rd] Creating data.frame from c-language

2013-08-12 Thread Prof Brian Ripley
On 12/08/2013 17:24, Boris Aronshtam wrote: Dear Professor Brian D. Ripley, Thank you for your reply. Yes, the speed is essential and data is large (gigabytes). I would like to learn from stats/src/model.c. Where can I find it? In the R sources Thanks, Boris -Original Message-

Re: [Rd] Creating data.frame from c-language

2013-08-12 Thread Boris Aronshtam
Dear Professor Brian D. Ripley, Thank you for your reply. Yes, the speed is essential and data is large (gigabytes). I would like to learn from stats/src/model.c. Where can I find it? Thanks, Boris -Original Message- From: Prof Brian Ripley [mailto:rip...@stats.ox.ac.uk] Sent: Saturday

Re: [Rd] Reason for difference in singular value decomposition produced by function La.svd (via prcomp)?

2013-08-12 Thread peter dalgaard
On Aug 12, 2013, at 10:26 , Ulrike Grömping wrote: > Dear expeRts, > > I previously posted this message to R-help and did not get a response, > therefore I now try here, with a few additional system details added. > > I have run some simulations under R 2.15.1 on a Mac (OS X, 10.6.8), and I >

[Rd] Reason for difference in singular value decomposition produced by function La.svd (via prcomp)?

2013-08-12 Thread Ulrike Grömping
Dear expeRts, I previously posted this message to R-help and did not get a response, therefore I now try here, with a few additional system details added. I have run some simulations under R 2.15.1 on a Mac (OS X, 10.6.8), and I have rerun a sample of them under R 3.0.1 on Windows 7 (and also