Nathan Stephens
2012-Jul-27 05:10 UTC
[R] Eleaps in package subselect crashes when using include arguement
I'm using eleaps to build a forward selection algorithm iteratively, but the program unexpectedly crashes. In fact, it completely closes my session in RStudio. The first 39 steps work fine, but on the 40th step, it unexpectedly stops with no errors. I've isolated the error to the code snippit below. There are 39 predictors, and I'm searching for the 40th best. I've passed in a fisher information matrix and the H matrix. I can't figure out why the process is stopping at the 40th iteration. include<-scan() 1 2 3 5 8 16 18 19 25 32 33 34 36 37 38 40 41 42 46 49 52 54 55 58 60 62 63 66 67 70 72 74 78 81 83 88 89 100 105 lps <- eleaps(x$mat, 40, 40, 1, NULL, include, H=x$H, r=1) --Nathan [[alternative HTML version deleted]]
Uwe Ligges
2012-Aug-02 13:17 UTC
[R] Eleaps in package subselect crashes when using include arguement
On 27.07.2012 07:10, Nathan Stephens wrote:> I'm using eleaps to build a forward selection algorithm iteratively, but > the program unexpectedly crashes. In fact, it completely closes my session > in RStudio. The first 39 steps work fine, but on the 40th step, it > unexpectedly stops with no errors. I've isolated the error to the code > snippit below. There are 39 predictors, and I'm searching for the 40th > best. I've passed in a fisher information matrix and the H matrix. I can't > figure out why the process is stopping at the 40th iteration. > > include<-scan() > 1 2 3 5 8 16 18 19 25 32 33 34 36 37 38 40 41 42 46 49 52 54 55 58 60 62 63 > 66 67 70 72 74 78 81 83 88 89 100 105 > lps <- eleaps(x$mat, 40, 40, 1, NULL, include, H=x$H, r=1)We do not have x, hence cannot reproduce. But if this crashes and x contains valid objects $mat and $H for eleaps, please report the full bug report including a reproducible example (i.e. including your object x) to the package maintainer rather than to this list.. Uwe Ligges> --Nathan > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >