Last Release: 0.1-0 (18 Jul 2013)
This package provides facilties to locate an
Simple but relatively comprehensive examples of how to use the primary functions in the package are:
db = GeoIP_open(, GEOIP_STANDARD, FALSE) r = GeoIP_record_by_name(db, "www.omegahat.org", FALSE) names(r) r r[c("latitude", "longitude")] r$lat r[["lat"]]
r = GeoIP_record_by_addr(db, "18.104.22.168", FALSE) r r[c("latitude", "longitude")]
Rather than having to know whether the host is identified by name or IP address, you can use the getIPPos() function.