RRegrs error with default dataset: 'Error in { : task 1 failed - "undefined columns selected"'

462 views
Skip to first unread message

Vytas Vytautas

unread,
Mar 9, 2016, 8:57:17 AM3/9/16
to rregrs
I have R-3.2.3, installed RRegrs according to readme file from github.
Then tried run on default housing data-set like shown in paste and got this error:
http://pastebin.com/kmsVmsEb
'Error in { : task 1 failed - "undefined columns selected"'
How can I fix this?

cafernandezlo

unread,
Mar 9, 2016, 11:24:50 AM3/9/16
to rregrs
this problem is due to the Caret package. 

You can check here https://github.com/topepo/caret/issues/354 why happens and two different solutions. We should fix it in our next release.

The fastest workaround is the following:

#please check caret version and report to this list
packageVersion('caret')

#remove this version and the bug
remove.packages(c('caret'))

library(devtools)

#install Caret Package version 6.0.52, without the bug
install_version(package='caret',version='6.0-52')

run again and report ;)

Vytas Vytautas

unread,
Mar 14, 2016, 3:08:48 AM3/14/16
to rregrs
Here my caret version:

> packageVersion('caret')
[1] '6.0.64'

And fix seems working.
Reply all
Reply to author
Forward
0 new messages