Re: [Rd] How best to get around shadowing of executables by system()'s prepending of directories to Windows' PATH?

2015-05-18 Thread Henrik Bengtsson
You probably already know, but you can at least work around it as: Sys.which2 <- function(cmd) { stopifnot(length(cmd) == 1) if (.Platform$OS.type == "windows") { suppressWarnings({ pathname <- shell(sprintf("where %s 2> NUL", cmd), intern=TRUE)[1] }) if (!is.na(pathname)) retu

Re: [Rd] \alias{} --> rather \concept{} for conceptual "links" to help pages

2015-05-18 Thread Hervé Pagès
Hi Martin, On 05/18/2015 05:14 AM, Martin Maechler wrote: From R-help, subject "Variable number of loops" I've opened a new thread, moving from R-help to R-devel .. Jim Lemon on Sun, 17 May 2015 09:19:06 +1000 writes: > Hi all, Given the number of help requests that involve

[Rd] A "bug" in plot.dendrogram - can't plot lty with character color

2015-05-18 Thread Tal Galili
The problem: === Once a dendrogram has a branch with both a line type AND a color (which is a character color), the plot.dendrogram function will not plot and return an error. I say this is a bug because (I believe), we would like a dendrogram to be able to use character colors, while also

Re: [Rd] How best to get around shadowing of executables by system()'s prepending of directories to Windows' PATH?

2015-05-18 Thread Yihui Xie
+1 I have exactly the same problem. Regards, Yihui -- Yihui Xie Web: http://yihui.name On Mon, May 18, 2015 at 12:29 PM, Josh O'Brien wrote: > My question: > > On Windows, R's system() command prepends several directories to those > in the Windows Path variable. > > >From ?system > > The

[Rd] How best to get around shadowing of executables by system()'s prepending of directories to Windows' PATH?

2015-05-18 Thread Josh O'Brien
My question: On Windows, R's system() command prepends several directories to those in the Windows Path variable. >From ?system The search path for 'command' may be system-dependent: it will include the R 'bin' directory, the working directory and the Windows system directories be

[Rd] \alias{} --> rather \concept{} for conceptual "links" to help pages

2015-05-18 Thread Martin Maechler
>From R-help, subject "Variable number of loops" I've opened a new thread, moving from R-help to R-devel .. > Jim Lemon > on Sun, 17 May 2015 09:19:06 +1000 writes: > Hi all, Given the number of help requests that involve > permutations/combinations, and the less than obviou