Hi, I'm having the same problem, but the aforementioned solution didn't work
for me. I keep getting an error message and the Stemmer is still reportedly
unknown. See code below. Please let me know if I'm overlooking anything.
Thanks.
Sys.setenv(NOAWT=TRUE)
library(tm)
library(Snowball)
THANK YOU ! Actually, the key is to disable AWT before loading the R
packages.
At last, it works with just a few warnings.
Julien
On Feb 2, 2012, at 4:36 PM, Zhou Zhou wrote:
The Sys.setenv(NOAWT=TRUE) code indeed solved my problem which was
excatly
what Julien described.
The key is
The Sys.setenv(NOAWT=TRUE) code indeed solved my problem which was excatly
what Julien described.
The key is you have to deactivate AWT BEFORE loading RWeka/Snowball. If I do
so it will fire a few warning messages but that should not affect anything.
I am running the lsa package which requires
Le dimanche 15 janvier 2012 à 23:06 +0100, Julien Velcin a écrit :
I use the version 1.6:
$ java -version
java version 1.6.0_26
OK, so nothing wrong on that side.
FWIW, I've found another person with the same problem:
https://list.scms.waikato.ac.nz/pipermail/wekalist/2010-June/048895.html
Le lundi 16 janvier 2012 à 11:27 +0100, Julien Velcin a écrit :
I had already seen this post. If I'm logged as root (it is possible
under macosx), here is the result:
* First run:
reuters - tm_map(reuters, stemDocument)
Error in .jnew(name) :
java.lang.InternalError: Can't start
I had already seen this post. If I'm logged as root (it is possible
under macosx), here is the result:
* First run:
reuters - tm_map(reuters, stemDocument)
Error in .jnew(name) :
java.lang.InternalError: Can't start the AWT because Java was
started on the first thread. Make sure
Ok but unfortunately JGR doesn't work when run as root! I think this
is because the packages needed (e.g., rWeka) are installed locally
(for the user). The installation at system level (in R framework)
fails:
Currently it is not possible to install binary packages from a remote
Le lundi 16 janvier 2012 à 13:07 +0100, Julien Velcin a écrit :
Ok but unfortunately JGR doesn't work when run as root! I think this
is because the packages needed (e.g., rWeka) are installed locally
(for the user). The installation at system level (in R framework)
fails:
Currently it
On Jan 16, 2012, at 8:18 AM, Milan Bouchet-Valat wrote:
Le lundi 16 janvier 2012 à 13:07 +0100, Julien Velcin a écrit :
snipped
install.packages('RWeka')
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... Error: .onLoad failed in loadNamespace()
for
My libraries are not in /Library/Frameworks/... but in /Users/
myname/Library/R/2.14/library/...
I have made a chmod a+x for all the files (including the
directories). No changes :(.
Besides, I have already tried to re-install the packages (using
different version of R: 2.12, 2.13, 2.4).
Yes, I've tried to repair the permissions through Disk Utility. But it
doesn't work.
Julien
The fact that the OP knows how to log in as root an a Mac suggests
that he probably already knows that the Disk Utility.app program is
the typical way to check and repair permissions, but I
Le vendredi 13 janvier 2012 à 15:49 +0100, Julien Velcin a écrit :
Dear all,
I have some troubles using the stemming algorithm provided by the tm
(text mining) + Snowball packages.
Here is my config:
MacOS 10.5
R 2.12.0 / R 2.13.1 / R 2.14.1 (I have tried several versions)
I have
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:
Dear all,
I have some troubles using the stemming algorithm provided by the tm
(text mining) + Snowball packages.
Here is my config:
MacOS 10.5
R 2.12.0 / R 2.13.1 / R 2.14.1 (I have tried several versions)
I have installed all the needed packages (tm, rJava, rWeka, Snowball)
+
14 matches
Mail list logo