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

2013-10-11 Thread Dan Tenenbaum
Thanks Henrik and Jon, that's very helpful. Dan - Original Message - > From: "Jon Olav Skoien" > To: "Henrik Bengtsson" > Cc: "Dan Tenenbaum" , "R-devel" > Sent: Friday, October 11, 2013 1:38:26 AM > Subject: Re: [Rd] instal

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

2013-10-11 Thread Jon Olav Skoien
On 11-Oct-13 3:15, Henrik Bengtsson wrote: 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"

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