GeoIP_country_name_by_ipnum_v6: An interface to the native routine...

GeoIP_country_name_by_ipnum_v6R Documentation

An interface to the native routine GeoIP_country_name_by_ipnum_v6

Description

This function allows one to invoke the native routine GeoIP_country_name_by_ipnum_v6 from R, passing R values as arguments to the routine.

Arguments

x1

an object of class GeoIPPtr-class

x2

an object of class geoipv6_t-class

.cif

the call interface object describing the signature of the native routine

returnInputs

a logical value or vector that is passed to callCIF in the Rffi package and controls whether arguments that might be modified by the routine are returned by the R function.

...

additional parameters that are passed to callCIF

Value

the native routine returns an object of class character. if returnInputs is FALSE, then this value is returned. Otherwise, this function returns a named list with 2 elements: 'value' as returned by the native routine, and 'inputs' which is a list containing all of the mutable parameters, i.e. pointers


omegahat/GeoIP documentation built on Jan. 17, 2024, 6:22 p.m.