Re: [Rd] Bug or undocumented behavior in normalizePath() with file system links on windows

2019-01-29 Thread Tomas Kalibera
I think this is caused by insufficient permissions on "C:/Programme" junction, and the behavior of normalizePath is as documented. I can get the same error with "C:/Documents and Settings", which is on my machine a junction into "C:/Users". The path cannot be normalized using normalizePath(),

[Rd] nlminb with constraints failing on some platforms

2019-01-29 Thread Kasper Kristensen via R-devel
I've noticed unstable behavior of nlminb on some Linux systems. The problem can be reproduced by compiling R-3.5.2 using gcc-8.2 and running the following snippet: f <- function(x) sum( log(diff(x)^2+.01) + (x[1]-1)^2 ) opt <- nlminb(rep(0, 10), f, lower=-1, upper=3) xhat <- rep(1, 10) abs( opt$