| host {RandomFieldsUtils} | R Documentation |
The functions hostname and pid return
the host name and the PID, respectively.
hostname() pid()
If R runs on a unix platform the host name and the PID are returned, otherwise the empty string and naught, respectively.
hostname |
returns a string |
pid |
returns an unsigned integer |
Martin Schlather, schlather@math.uni-mannheim.de, http://ms.math.uni-mannheim.de
cat("The name of your computer is '", hostname(),
"'. Your R program has current pid ", pid(), ".\n", sep="")