[R] Troubles with stemming (tm + Snowball packages) under MacOS

Julien Velcin julien.velcin at univ-lyon2.fr
Sun Jan 15 23:06:17 CET 2012


I use the version 1.6:

$ java -version
java version "1.6.0_26"

Julien

On Jan 15, 2012, at 8:55 PM, Milan Bouchet-Valat wrote:

> Le dimanche 15 janvier 2012 à 16:32 +0100, Julien Velcin a écrit :
>> Unfortunately, it doesn't work. I've installed JGR and launched my
>> script. I still obtain an error:
>>
>> Error in .jcall("RWekaInterfaces", "[S", "stem", .jcast(stemmer,  
>> "weka/
>> core/stemmers/Stemmer"),  :
>>   RcallMethod: cannot determine object class
>>
>> Any new idea?
> Just a guess, but what version of Java do you have? You can find  
> this in
> the Java preferences panel (type "Java" in Spotlight to find it).  
> 1.6 is
> required, and often only 1.5 is used by default on OS X.
>
>
> Regards



More information about the R-help mailing list