A. Quinones
A. Quinones

Reputation: 69

Why can't I load the OpenStreetMap R-Package?

I installed the OpenStreetMap package in R but every time I load the package, I get the following error:

Error: package or namespace load failed for ‘OpenStreetMap’: .onLoad failed in loadNamespace() for 'rJava', details: call: fun(libname, pkgname) error: JAVA_HOME cannot be determined from the Registry

Can someone explain what could be happening?

Thanks!

Upvotes: 1

Views: 2171

Answers (1)

Cam
Cam

Reputation: 28

I think you have to add JAVA_HOME as a new PATH environment variable. I found all the usefull informations about java here: http://www.ntu.edu.sg/home/ehchua/programming/howto/JDK_HowTo.html

Upvotes: 1

Related Questions