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

David Winsemius dwinsemius at comcast.net
Sat Aug 23 00:41:23 CEST 2014


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



More information about the R-devel mailing list