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:[EMAIL PROTECTED] 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@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel