clayton.springer at novartis.com
2007-Oct-31 19:35 UTC
[R] seg fault with randomForest ( ... , xtest )
Dear R-help, what are the limits on xtest?> NOT_A.rf <- randomForest (log10(Y[!A] ) ~ . , data = notA_desc ,proximity=T ,xtest = A_desc) *** caught segfault *** address 0x9cdd000, cause 'memory not mapped' Segmentation fault I don't think that the matrix are large: notA_desc is 651 obs of 27 variables A_desc is 17 obs of 27 variables thanks in advance, Clayton [[alternative HTML version deleted]]
Hi Clayton, Using formula like that, IMHO, is a genuinely bad idea. You subset Y on the LHS of the formula, but what about the RHS? Also, I've never tried to use xtest via the formula interface, and that is never the intended usage. I'll look into more checking in the code to prevent such "abuse". 8-) Best, Andy From: clayton.springer at novartis.com> > Dear R-help, > > what are the limits on xtest? > > > NOT_A.rf <- randomForest (log10(Y[!A] ) ~ . , data = notA_desc , > proximity=T ,xtest = A_desc) > > *** caught segfault *** > address 0x9cdd000, cause 'memory not mapped' > Segmentation fault > > I don't think that the matrix are large: > > notA_desc is 651 obs of 27 variables > A_desc is 17 obs of 27 variables > > thanks in advance, > > Clayton > [[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. > > >------------------------------------------------------------------------------ Notice: This e-mail message, together with any attachme...{{dropped:15}}