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

Rui Barradas ruipbarradas at sapo.pt
Fri Aug 22 23:53:35 CEST 2014


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)

locale:
[1] LC_COLLATE=Portuguese_Portugal.1252 
LC_CTYPE=Portuguese_Portugal.1252
[3] LC_MONETARY=Portuguese_Portugal.1252 LC_NUMERIC=C 

[5] LC_TIME=Portuguese_Portugal.1252

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

loaded via a namespace (and not attached):
[1] parallel_3.1.1

Rui Barradas
>
> Best,
> Tobias
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>



More information about the R-devel mailing list