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

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to