Re: [Rd] ID for machine?

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: Fri 09 Dec 2005 - 15:02:03 GMT

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



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Sat Dec 10 02:20:07 2005

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