From Robert.McGehee at geodecapital.com  Fri Dec  9 15:43:37 2005
From: Robert.McGehee at geodecapital.com (McGehee, Robert)
Date: Fri, 9 Dec 2005 09:43:37 -0500
Subject: [Rd] ID for machine?
Message-ID: <67DCA285A2D7754280D3B8E88EB548020C94672C@MSGBOSCLB2WIN.DMN1.FMR.COM>

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



[Rd] ID for machine?
McGehee, Robert