Retrieving your public IP via https://api.ipify.org. (old solution used: http://api.exip.org/ based on http://stackoverflow.com/questions/3097589/getting-my-public-ip-via-api)

myip(...)

Arguments

...

not in use

Source

https://api.ipify.org

Value

your current ip (character string)

See also

Examples

if (FALSE) { myip() # "37.132.25.15" }