Re: [Rd] install.packages() removes package on Windows

2013-10-10 Thread Henrik Bengtsson
My guess is that the DLL of the already installed XML package is loaded by another R session and that prevents the corresponding DLL file: > path <- system.file("libs", package="XML") > list.files(path, recursive=TRUE, pattern="dll$") [1] "i386/XML.dll" "x64/XML.dll" from being deleted by install

[Rd] install.packages() removes package on Windows

2013-10-10 Thread Dan Tenenbaum
Hi, Starting with the XML package installed: > "XML" %in% rownames(installed.packages()) [1] TRUE > I ran the following script: pkgs <- c("XML") for (i in 1:100) { install.packages(pkgs, repos="http://cran.fhcrc.org";) if (!all(pkgs %in% rownames(installed.packages( { p

[Rd] Replacing the Random Number Generator in Stand Alone Library

2013-10-10 Thread Nigel Delaney
Hi R-Developers, I had a question about the random number generator used in the R StandAlone Math Library. The stand-alone library depends on the unif_rand() function for most simulated values, and this function is provided in the sunif.c file in the relevant directory. At present, this program

Re: [Rd] Version of L-BFGS-B used in optim etc

2013-10-10 Thread Prof J C Nash (U30A)
This issue has been known for some time and I've had "why don't you fix this?" queries. However, I'm not one of the R-core folk who could do so, and don't code in C. Moreover, as far as I can tell, the version of L-BFGS-B in R is not one of the standard releases from Morales and Nocedal. As m