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

Mauricio Zambrano-Bigiarini mauricio.zambrano at udec.cl
Sat Aug 23 00:15:49 CEST 2014



On 22/08/14 16:03, Marius Hofert wrote:
> 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]

I also get the same error:

Error in system(cmd, TRUE) : error in running command


R 3.1.1 on Linux Mint 17 (based on Ubuntu 14.04)

sessionInfo()
R version 3.1.1 (2014-07-10)
Platform: x86_64-pc-linux-gnu (64-bit)

locale:
  [1] LC_CTYPE=en_GB.UTF-8       LC_NUMERIC=C
  [3] LC_TIME=en_GB.UTF-8        LC_COLLATE=en_GB.UTF-8
  [5] LC_MONETARY=en_GB.UTF-8    LC_MESSAGES=en_GB.UTF-8
  [7] LC_PAPER=en_GB.UTF-8       LC_NAME=C
  [9] LC_ADDRESS=C               LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=C

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

other attached packages:
[1] raster_2.2-31 sp_1.0-15

loaded via a namespace (and not attached):
[1] grid_3.1.1      lattice_0.20-29 tools_3.1.1

Cheers,

Mauricio

-- 
=======================================================
Assistant Professor,
Faculty of Environmental Sciences and EULA-Chile Centre
University of Concepcion, Concepcion, Chile
=======================================================
"The only things in life you regret, are
the risks that you didn't take" (Anonymous)
=======================================================
Linux user #454569 -- Linux Mint user


More information about the R-devel mailing list