Interface to the system
gethostbyname, currently available
only on unix-alikes, i.e., not on Windows.
the name of the host.
This was included as a test of internet connectivity, to fail if
the node running R is not connected. It will also return
if BSD networking is not supported, including the header file
This function is not available on Windows.
The IP address, as a character string, or
NULL if the call fails.
if(.Platform$OS.type == "unix") # includes Mac print( nsl("www.r-project.org") )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.