Closed wlandau closed 1 year ago
The issue is there is not a single way of getting this - it is highly platform dependent. Hence, probably (i) see if the maintainers of getip
are open to extending their package or (ii) wrap system calls (although this again will be different on each platform).
crew
needs to get the local IP address of the client R session so workers can dial into the address over TCP. I am usinggetip::getip()
for this, and it works on all the machines I can access, but it is not usable in cases like https://github.com/wlandau/crew.cluster/issues/1#issuecomment-1546024163. In addition,getip
is limited to IPv4, it can't do IPv6 yet.