0

I am getting the below error while trying cv.glmnet from glmnet package in R.

Error in all false (r0) object 'r_all0' not found

Code below

{wrap.glmnet.mdl.cv <- cv.glmnet(red.trn.x, red.trn.y, family="binomial")}

I am not able to figure out which "r_all0" object is referred here. Also, there is no such variable in the red.trn.x matrix.

Rich Scriven
  • 97,041
  • 11
  • 181
  • 245
maverick
  • 1
  • 3
  • Please add sample data and enough code to make your problem [reproducible](http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example). Ideally we should be able to copy and paste the code from this question into R to get the same error as you. That will make it much easier to help you. – MrFlick Aug 28 '14 at 23:55
  • May need to grep through the code base for `r_all0`. – IRTFM Aug 28 '14 at 23:58
  • @BondedDust I tried the source code for cv.glmnet but could not find 'r_all0' – maverick Aug 29 '14 at 00:20
  • `r0` appears several times in the source but I admit I am still unable to answer the question. – IRTFM Aug 29 '14 at 01:59
  • What does `traceback()` show after the error? – Jonathan Aug 29 '14 at 03:02

0 Answers0