[R] Troubles with stemming (tm + Snowball packages) under MacOS
Milan Bouchet-Valat
nalimilan at club.fr
Mon Jan 16 11:47:58 CET 2012
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 the AWT because Java was
> started on the first thread. Make sure StartOnFirstThread is not
> specified in your application's Info.plist or on the command line
> Unable to create WEKA_HOME (/Users/admin/wekafiles)
> Unable to create packages directory (/Users/admin/wekafiles/packages)
> Unable to create repository cache directory (/Users/admin/wekafiles/
> repCache)
> Unable to create WEKA_HOME (/Users/admin/wekafiles)
> Unable to create packages directory (/Users/admin/wekafiles/packages)
> Unable to create repository cache directory (/Users/admin/wekafiles/
> repCache)
> Refreshing GOE props...
Running as root doesn't mean you can bypass the JGR trick. I think
you're experiencing two different problems here, so you still need to
apply the workaround for the first one.
Cheers
More information about the R-help
mailing list