[R] Error in RImageJ
Romain Francois
romain at r-enthusiasts.com
Sat May 8 10:34:00 CEST 2010
This is a known issue. You can:
- ask apple to fix it
- use R embedded into a java application, e.g. JGR
Romain
Le 08/05/10 03:49, Fredy Mejía a écrit :
>
> Hello everybody,
>
> I'm running R under Mac OS 10.6.3 on a MacBook 2.16 GHz Intel Core 2 Duo. I've recently installed R 2.11.0 and the RImageJ library v. 0.1-142. When trying to follow the example given in the package manual and I get the following error:
>
> download.file( "http://www.google.fr/intl/en_en/images/logo.gif", dest = "google.gif" )
> trying URL 'http://www.google.fr/intl/en_en/images/logo.gif'
> Content type 'image/gif' length 8558 bytes
> opened URL
> ==================================================
> downloaded 8558 bytes
>
>> image = IJ$openImage( "google.gif" )
> Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, :
> 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
> starting httpd help server ... done
>>
> Can someone help me figuring out what this means and how to solve the problem?
>
> Thanks in advance.
>
> Fredy
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://bit.ly/9aKDM9 : embed images in Rd documents
|- http://tr.im/OIXN : raster images and RImageJ
|- http://tr.im/OcQe : Rcpp 0.7.7
More information about the R-help
mailing list