Re: [Rd] ID for machine?

From: McGehee, Robert <Robert.McGehee_at_geodecapital.com>
Date: Fri 09 Dec 2005 - 14:43:37 GMT


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@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@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 Received on Sat Dec 10 01:48:16 2005

This archive was generated by hypermail 2.1.8 : Fri 09 Dec 2005 - 16:21:31 GMT