[Rd] ID for machine?

McGehee, Robert Robert.McGehee at geodecapital.com
Fri Dec 9 15:43:37 CET 2005


Not an R function, per se, but
> system("uname -n", intern = TRUE)
returns my computer's network node hostname on both Windows and Linux.

You can use 'uname -a' for more information.

-----Original Message-----
From: Duncan Murdoch [mailto:murdoch at stats.uwo.ca] 
Sent: Friday, December 09, 2005 9:31 AM
To: R-devel
Subject: [Rd] ID for machine?


Does R have a function to obtain a name of the machine that it is 
running on?  I'm going to be writing results to a database from several 
different machines, and I'd like to be able to identify where they came 
from.

Duncan Murdoch

______________________________________________
R-devel at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel



More information about the R-devel mailing list