ip_addr: IP Address

View source: R/utils.R

ip_addrR Documentation

IP Address

Description

Returns a character string comprising the local network IPv4 address, or vector if there are multiple addresses from multiple network adapters, or an empty character string if unavailable.

Usage

ip_addr()

Details

The IP addresses will be named by interface (adapter friendly name on Windows) e.g. 'eth0' or 'en0'.

Value

A named character string.

Examples

ip_addr()


nanonext documentation built on June 23, 2025, 9:08 a.m.