Marius Hofert
2014-Aug-22 20:03 UTC
[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] Cheers, Marius
Tobias Verbeke
2014-Aug-22 21:18 UTC
[Rd] parallel::detectCores(TRUE) gives: Error in system(cmd, TRUE) : error in running command
----- 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 Best, Tobias
William Dunlap
2014-Aug-22 22:13 UTC
[Rd] parallel::detectCores(TRUE) gives: Error in system(cmd, TRUE) : error in running command
The same is true in R-2.14.1 on Ubuntu 12.04.4 LTS . Put a trace on system with trace(system, quote(print(command))) parallel::detectCores(TRUE) and you will see the offending shell command. Bill Dunlap TIBCO Software wdunlap tibco.com On Fri, Aug 22, 2014 at 1:03 PM, Marius Hofert <marius.hofert at uwaterloo.ca> 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] > > Cheers, > > Marius > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel
Mauricio Zambrano-Bigiarini
2014-Aug-22 22:15 UTC
[Rd] parallel::detectCores(TRUE) gives: Error in system(cmd, TRUE) : error in running command
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