R tool help - address conversion
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
cmcclellan
14 - Magnetar
‎02-14-2024
12:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I'm trying to convert an address to lat/long co-ordinates so I can show the address on a map.
But I don't know enough R to make it work.
This must be done in R please :)
Labels:
- Labels:
- R Tool
2 REPLIES 2
Ben_H
11 - Bolide
‎02-14-2024
02:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @cmcclellan,
I'm not much of an R guy either, but when I try to run your routine it says it's missing the function "geocodeNominatim". After trying to install nominatim I get the error that the version of R is not compatible with that package. I'm not sure how to resolve that!
Regards,
Ben
‎02-14-2024
02:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I'm using 2023.2 so the function seems to be valid, but I get this ...
R (1) trying URL 'http://cran.r-project.org/bin/windows/contrib/4.2/OpenStreetMap_0.4.0.zip'
R (1) Content type 'application/zip' length 2266965 bytes (2.2 MB)
R (1) ==================================================
R (1) downloaded 2.2 MB
R (1) package 'OpenStreetMap' successfully unpacked and MD5 sums checked
R (1) The downloaded binary packages are in
R (1) C:\Users\chris\AppData\Local\Temp\Rtmpi8Krnt\downloaded_packages
R (1) Error: package or namespace load failed for 'OpenStreetMap':
R (1) .onLoad failed in loadNamespace() for 'rJava', details:
R (1) call: fun(libname, pkgname)
R (1) error: JAVA_HOME cannot be determined from the Registry
R (1) Execution halted
