[R] Cryptic error message using RuleFit

Christopher Schwalm schw0516 at umn.edu
Tue Feb 26 21:41:24 CET 2008


Hello LIST,

In using Rulefit I;ve bee nabel to fit a model using rulefit without 
incident. However, when trying to use intnull and interact things go 
astray.

> rf=rulefit(x,"N", cat.vars="H", 
> not.used=c("G","T"),huber=0.9,path.speed=1);
[snip]
RuleFit model 2/26/2008 2:17p
ave(abs(error))     terms     path steps
    84.16             110         8301

> null.mod <- intnull()
[snip building trees and fitting rules]
Warning messages:
1: In system("mv -f rulefit.mod mod.sv") : mv not found
2: In system("mv -f rulefit.sum sum.sv") : mv not found
3: In system("mv -f rfout out.sv") : mv not found
4: In system("mv -f train.y train.sv") : mv not found
5: In system("mv -f mod.sv rulefit.mod") : mv not found
6: In system("mv -f sum.sv rulefit.sum") : mv not found
7: In system("mv -f train.sv train.y") : mv not found
8: In system("mv -f out.sv rfout") : mv not found

> int = interact(c("A", "M", "H", "P"), null.mod)
Error in interact(c("A", "M", "H", "P"), null.mod) : 
  input null.mods inconsistent with RuleFit home directory model.

Something is amiss with the directory but it looks fine (the files from rf 
are present and where they should be based on the installation notes) and I 
can not figure out what the missing piece here is. Any insight appreciated.

Thanks,
Christopher



More information about the R-help mailing list