From murdoch at stats.uwo.ca  Fri Dec  9 16:02:03 2005
From: murdoch at stats.uwo.ca (Duncan Murdoch)
Date: Fri, 09 Dec 2005 10:02:03 -0500
Subject: [Rd] ID for machine?
In-Reply-To: <001801c5fccf$9d8276d0$0540210a@www.domain>
References: <43999526.8040500@stats.uwo.ca>
	<001801c5fccf$9d8276d0$0540210a@www.domain>
Message-ID: <43999C6B.3060300@stats.uwo.ca>

On 12/9/2005 9:48 AM, Dimitris Rizopoulos wrote:
> maybe
> 
> Sys.info()["nodename"]
> 
> could be helpfull in Windows.

Thanks to all who replied.  This seems like the most portable solution. 
  (The code will be running on all sorts of machines, and this isn't 
guaranteed to work, but I think it's pretty likely to, whereas some of 
the system() calls are a little more fragile.)

Duncan



[Rd] ID for machine?
Duncan Murdoch