[R] use R to read/print the system hardware configuration

David Winsemius dwinsemius at comcast.net
Mon Jul 30 18:37:06 CEST 2012


On Jul 30, 2012, at 8:42 AM, Jie wrote:

> Sorry to miss the OS information. I run it on Window 7 32 bit, 64  
> bit and
> Unix (version unclear, it is a grid machine.)

Have you looked at:

?.Machine


-- 
David.
>
> Best wishes,
> Jie
>
> On Mon, Jul 30, 2012 at 11:39 AM, Prof Brian Ripley
> <ripley at stats.ox.ac.uk>wrote:
>
>> On 30/07/2012 16:08, Jie wrote:
>>
>>> Dear All,
>>>
>>> I am curious if there is any why to use R to know the  
>>> specification of the
>>> machine that runs on,
>>> i.e. read the cpu model, memory size, those hardware info, maybe  
>>> even with
>>> thesoftware information.
>>> Thank you for your attention.
>>>
>>
>> There are ways ... however, there are no remotely portable ways and  
>> you
>> have not even told us your OS (as asked for in the posting guide).
>>
>> This sort of thing depends not just on the OS but the precise  
>> version of
>> the OS.  Look at paralllel::detectCores() for how hard one has to  
>> work to
>> get the number of processors.
>>
>>
>> Best wishes,
>>> Jie
>>>
>>>        [[alternative HTML version deleted]]
>>>
>>> ______________________________**________________
>>> R-help at r-project.org mailing list
>>> https://stat.ethz.ch/mailman/**listinfo/r-help<https://stat.ethz.ch/mailman/listinfo/r-help 
>>> >
>>> PLEASE do read the posting guide http://www.R-project.org/**
>>> posting-guide.html <http://www.r-project.org/posting-guide.html>
>>> and provide commented, minimal, self-contained, reproducible code.
>>>
>>>
>>
>> --
>> Brian D. Ripley,                  ripley at stats.ox.ac.uk
>> Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~**ripley/ 
>> <http://www.stats.ox.ac.uk/~ripley/>
>> University of Oxford,             Tel:  +44 1865 272861 (self)
>> 1 South Parks Road,                     +44 1865 272866 (PA)
>> Oxford OX1 3TG, UK                Fax:  +44 1865 272595
>>
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

David Winsemius, MD
Alameda, CA, USA



More information about the R-help mailing list