Hello,
I am trying to use the OpenStreetMap library on Mac OS X Lion with Java 6 & 7.
Loading the library is not a problem:
> library("OpenStreetMap")
Le chargement a nécessité le package : rJava
Le chargement a nécessité le package : sp
Le chargement a nécessité le package : maptools
Le chargement a nécessité le package : foreign
Le chargement a nécessité le package : lattice
Checking rgeos availability: TRUE
Le chargement a nécessité le package : raster
raster 1.9-92 (1-May-2012)
I get an issue, when I try to use the openmap function:
> map <- openmap(c(52,-5), c(42,8))
Erreur dans .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
Have you got any idea in order to get it works?
Best regards,
Pierre-Olivier
[[alternative HTML version deleted]]
______________________________________________
[email protected] 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.