From dwinsemius at comcast.net  Sat Aug 23 00:41:23 2014
From: dwinsemius at comcast.net (David Winsemius)
Date: Fri, 22 Aug 2014 15:41:23 -0700
Subject: [Rd] parallel::detectCores(TRUE) gives: Error in system(cmd,
	TRUE) : error in running command
In-Reply-To: <53F7BBDF.8010606@sapo.pt>
References: <CAM3-KjZ2OtUx6Hz88WuM4A4AV8_OAey4MvWjz8ZKMRDQi=jgdQ@mail.gmail.com>
	<1053586613.144079.1408742298054.JavaMail.zimbra@openanalytics.eu>
	<53F7BBDF.8010606@sapo.pt>
Message-ID: <92742B4C-3D01-49D6-8B71-FE0C6D9F6712@comcast.net>


On Aug 22, 2014, at 2:53 PM, Rui Barradas wrote:

> Hello,
> 
> Inline.
> 
> Em 22-08-2014 22:18, Tobias Verbeke escreveu:
>> ----- Original Message -----
>>> From: "Marius Hofert" <marius.hofert at uwaterloo.ca>
>>> To: "R-devel" <r-devel at r-project.org>
>>> Sent: Friday, August 22, 2014 10:03:13 PM
>>> Subject: [Rd] parallel::detectCores(TRUE) gives: Error in system(cmd, TRUE) : error in running command
>>> 
>>> Hi,
>>> 
>>> Both under the current R-devel (r66456) and a version from about 3
>>> months ago, I experience the following behavior:
>>> 
>>>> parallel::detectCores(TRUE)
>>> Error in system(cmd, TRUE) : error in running command
>>>> traceback()
>>> 3: system(cmd, TRUE)
>>> 2: gsub("^ +", "", system(cmd, TRUE)[1])
>>> 1: parallel::detectCores(TRUE)
>>>> 
>>> 
>>> This is on Ubuntu 14.04. Does anybody else see this? [I currently have
>>> quite a heavy workload, otherwise I would have installed and tested it
>>> also under 3.1.1]
>> 
>> Same under R 3.1.1
>> 
>>> parallel::detectCores(TRUE)
>> Error in system(cmd, TRUE) : error in running command
> 
> I'm Using R 3.1.1 on Windows 7 and it works.
> 
> > parallel::detectCores(TRUE)
> [1] 4
> > sessionInfo()
> R version 3.1.1 (2014-07-10)
> Platform: x86_64-w64-mingw32/x64 (64-bit)

Works on a 6 year-old MacPro with R 3.1.0

>  parallel::detectCores(TRUE)
[1] 8

>  sessionInfo()
R version 3.1.0 Patched (2014-04-21 r65431)
Platform: x86_64-apple-darwin10.8.0 (64-bit)

-- 
david.

> 


David Winsemius
Alameda, CA, USA



[Rd] parallel::detectCores(TRUE) gives: Error in system(cmd, TRUE) : error in running command
David Winsemius