[Rd] ID for machine?

Duncan Murdoch murdoch at stats.uwo.ca
Fri Dec 9 16:02:03 CET 2005


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



More information about the R-devel mailing list