From ligges at statistik.uni-dortmund.de  Tue Jul 19 08:35:00 2005
From: ligges at statistik.uni-dortmund.de (Uwe Ligges)
Date: Tue, 19 Jul 2005 08:35:00 +0200
Subject: [Rd] a possible bug in svmlight (PR#8012)
In-Reply-To: <27583b4005071821024b0483c0@mail.gmail.com>
References: <20050719031121.3266BA214@slim.kubism.ku.dk>	<971536df05071820313c7601a5@mail.gmail.com>	<27583b40050718204162898fd0@mail.gmail.com>	<971536df0507182046581c546@mail.gmail.com>
	<27583b4005071821024b0483c0@mail.gmail.com>
Message-ID: <42DC9F14.60802@statistik.uni-dortmund.de>

Luke wrote:

> Well, it is explicite only for the guru. :)

Let me add a few of points:

1. We already thought about including svmlight, but get stuck there due 
to some licensing issues, AFAIR. We might want to force getting there, 
though.

2. library(help=klaR) says:
       SystemRequirements:   SVMlight
    ?klaR says:
In title: "Interface to SVMlight"
            ^^^ ^^ ^^
In the arguments section (including a typo that should not matter):
"pathsvm  Path to SVMlight binaries (required, if path os unknown by the 
OS)."
Gabor already told about the note in the examples.

I will add an explicit section telling people something like "Can only 
interface to SVMlight if SVMlight is available". Unfortunately, Rd files 
do not have the markup that allows to make it red and blinking. ;-)

3. Please NEVER send bug reports of contributed packages to the bug 
tracking system of R. R Core cannot do anything re. contributed 
packages, and maintainers of contributed packages cannot mark the bug as 
"fixed" in the bug tracking system ...
Instead, please notify the maintainer.


Uwe Ligges





> On 7/18/05, Gabor Grothendieck <ggrothendieck at gmail.com> wrote:
> 
>>Actually it does.  Look in the examples section of ?svmlight
>>
>>On 7/18/05, Luke <jyzz88 at gmail.com> wrote:
>>
>>>If it is true, I wonder why the help page of svmlight doesn't mention
>>>this requirement explicitly.
>>>
>>>-Luke
>>>
>>>On 7/18/05, Gabor Grothendieck <ggrothendieck at gmail.com> wrote:
>>>
>>>>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
>>>>>
>>>>
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



[Rd] a possible bug in svmlight (PR#8012)
Uwe Ligges