[R] svmlight running error

Luke jyzz88 at gmail.com
Tue Jul 19 02:14:48 CEST 2005


Dear R Users,

When I used svmlight, I got below error:

my command is:
foo <- svmlight(y~., data= myData)

the results:
Error in file(con, "r") : unable to open connection
In addition: Warning messages:
1: svm_learn not found 
2: cannot open file '_model_1.txt'

> myData[1:2,]
  y X1 X2 X3 X4  X5  X6 X7 X8 X9 X10 X11 X12 X13 X14 X15 X16 X17
1 1 63  1  0  0 145 233  1  1  0 150   0 2.3   1   0   0   1   0
2 0 67  0  1  0 160 286  0  1  0 108   1 1.5   0   1   3   0   1

I wonder what is the possible reason for this error.

-Luke




More information about the R-help mailing list