The CRAN package does not include the svmlight binaries.
Perhaps you installed klaR but not svmlight binaries?
You need to place them somewhere on your path.
On 7/18/05, jyzz88 at gmail.com <jyzz88 at gmail.com>
wrote:> 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
>
> The klaR version is 0.4-1
> OS: trying on windows and Linux gives me the same error
>
> -Luke
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>