Re: [Rd] [patch] Add support for editor function in edit.default

2014-08-23 Thread Scott Kostyshak
On Tue, May 20, 2014 at 5:55 AM, Scott Kostyshak wrote: > Regarding the following extract of ?options: > ‘editor’: a non-empty string, or a function that is called with a > file path as argument. > > edit.default currently calls the function with three arguments: name, > file, and t

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

2014-08-23 Thread Marius Hofert
On Fri, Aug 22, 2014 at 6:57 PM, William Dunlap wrote: > There is no /usr/sbin/sysctl on my Ubuntu 12.04 machine. There is a > /sbin/sysctl, but it does not accept the '-n hw.ncpu' arguments. Its > /usr/bin/nproc [-all] will tell the number of available [installed] > processing units and 'cat /p