Re: [Rd] using svd in regression with arima

2010-07-06 Thread Prof Brian Ripley
On Tue, 6 Jul 2010, Hodgess, Erin wrote: Dear R Developers: Why is it that the singular value decomposition is used when running regression with arima, please? I've been looking for a reference for that but have come up empty so far. Do you mean this: if (!orig.xreg) {

Re: [Rd] with(x, Recall()) Crash

2010-07-06 Thread Duncan Murdoch
On 06/07/2010 5:38 PM, McGehee, Robert wrote: R-devel, I discovered a segfault in my R code that boiled down to my incorrect use of the Recall() function embedded within a with() function. Since segfaults are generally bad things, even when it's the user's fault for writing nonsense code, I thoug

[Rd] with(x, Recall()) Crash

2010-07-06 Thread McGehee, Robert
R-devel, I discovered a segfault in my R code that boiled down to my incorrect use of the Recall() function embedded within a with() function. Since segfaults are generally bad things, even when it's the user's fault for writing nonsense code, I thought I'd pass along the offending code. I've teste

[Rd] using svd in regression with arima

2010-07-06 Thread Hodgess, Erin
Dear R Developers: Why is it that the singular value decomposition is used when running regression with arima, please? I've been looking for a reference for that but have come up empty so far. Thank you for any help. Sincerely, Erin Erin M. Hodgess, PhD Associate Professor Department of Com

Re: [Rd] arr.ind argument to which.min and which.max

2010-07-06 Thread Vincent Goulet
Le lun. 5 juil. à 05:56, Martin Maechler a écrit : >> "PatB" == Patrick Burns >>on Sun, 04 Jul 2010 09:43:44 +0100 writes: > >PatB> Is there a reason that 'which.min' and >PatB> 'which.max' don't have an 'arr.ind' >PatB> argument? > > well, help(which.min) tells you th

Re: [Rd] accessing underlying code

2010-07-06 Thread Simon Urbanek
On Jul 6, 2010, at 11:04 AM, Hodgess, Erin wrote: > Dear R Developers: > > Is there a way to look at the underlying code from such items as > R_setup_starma, please? > Yes, of course, they are in the R sources (src/library/stats/src/pacf.c) - that's the beauty of open source. Cheers, Simon

Re: [Rd] accessing underlying code

2010-07-06 Thread Matt Shotwell
setup_starma is in src/library/stats/src/pacf.c -Matt On Tue, 2010-07-06 at 11:04 -0400, Hodgess, Erin wrote: > Dear R Developers: > > Is there a way to look at the underlying code from such items as > R_setup_starma, please? > > Thanks, > Erin > > > Erin M. Hodgess, PhD > Associate Professo

[Rd] accessing underlying code

2010-07-06 Thread Hodgess, Erin
Dear R Developers: Is there a way to look at the underlying code from such items as R_setup_starma, please? Thanks, Erin Erin M. Hodgess, PhD Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: hodge...@uhd.edu [[alternative H

Re: [Rd] Windows 64bit package build requires underscore hack?

2010-07-06 Thread Jay Emerson
I had a problem like this for a while with bigmemory et. al... the check went through to the very end, including successfully building the man pages, then a number of shells popped up and the process died as described here. The build was successful. We never did figure out exactly why, but are fa

Re: [Rd] arr.ind argument to which.min and which.max

2010-07-06 Thread Henrik Bengtsson
On Tue, Jul 6, 2010 at 11:53 AM, Martin Maechler wrote: > > > "HenrikB" == Henrik Bengtsson > >     on Mon, 5 Jul 2010 22:53:59 +0200 writes: > >    HenrikB> ...and, of course, just after sending it off I found out that > from R >    HenrikB> v2.11.0 there is now an arrayInd() in the 'ba

Re: [Rd] arr.ind argument to which.min and which.max

2010-07-06 Thread Patrick Burns
On 06/07/2010 10:53, Martin Maechler wrote: [ ... ] Wouldn't it make more sense to call arrayInd(which.min(mat), dim(mat)) instead of which.min(mat, arr.ind = TRUE) in the spirit of modularity, maintainability, ... ? Honestly, in my first reply I had forgotten about my own a

Re: [Rd] arr.ind argument to which.min and which.max

2010-07-06 Thread Martin Maechler
> "HenrikB" == Henrik Bengtsson > on Mon, 5 Jul 2010 22:53:59 +0200 writes: HenrikB> ...and, of course, just after sending it off I found out that from R HenrikB> v2.11.0 there is now an arrayInd() in the 'base' package doing exactly HenrikB> the same thing. See help(ar