Can't find the functions of openmap & osm

I can't use openmap() and osm() and got error messages as below:

could not find function "openmap"
could not find function "osm"

Could anyone help, thanks!


That functions come from the OpenStreetMap package. Do you have it installed? Have you loaded the package before using the functions?

# Install once with

# Load the package on each session you want to use it

Thanks for the help. I did install the package. Someone messaged me that it has to do with the bug of Java on Mac and I'm still fixing it.

Also, I got the message when onloading openstreetmap package:

package or namespace load failed for ‘OpenStreetMap’:
.onLoad failed in loadNamespace() for 'rJava', details:
call: fun(libname, pkgname)
error: No CurrentVersion entry in Software/JavaSoft registry! Try re-installing Java and make sure R and Java have matching architectures.
Warning message:
package ‘OpenStreetMap’ was built under R version 3.6.3

Try runing this command on a system terminal (not in R) and restart your computer

sudo R CMD javareconf

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.