search for: unpackpkgzip

Displaying 6 results from an estimated 6 matches for "unpackpkgzip".

2017 Sep 12
1
unpackPkgZip: "unable to move temporary installation" due to antivirus
Hi, Me and an office colleague on Microsoft Windows 10 PCs are having difficulty installing any package. This is a recent issue for us, and we suspect our McAfee antivirus has modified by our IT department. Let's take, for example, install.packages("mypackage"), here is the output: package ?mypackage? successfully unpacked and MD5 sums checked Warning in install.packages : unable
2010 Dec 17
2
install.packages() - old version deleted, new version did not install
...or the next time, is there a way to reinstall a package without interrupting running R-sessions? For me it seems like the cause of the problem could have been solved by checking if the .dll can be removed before removing the rest of the package, by adding something like the following in utils:::unpackPkgZip? if (unlink(paste(instPath,"/libs/x64/sp.dll", sep = "")) != 0) warning("cannot remove...") before ret <- unlink(instPath, recursive = TRUE) (line 95) x64 in the path would have to be changed to something architecture dependent... Best wishes, Jon
2012 Mar 31
2
unable to move temporary installation
Hi all, I'm having a strange error that prevents me from installing new packages, or updating packages after reinstalling. The error message is Warning: unable to move temporary installation ‘C:\Program Files\R\R-2.14.2\library\file15045004ac2\sandwich’ to ‘C:\Program Files\R\R-2.14.2\library\sandwich’ for one of the packages that is failing to install/update. This error started happening
2013 Oct 10
1
install.packages() removes package on Windows
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()))) { print("failed to install pkgs!")
2010 Dec 19
3
monthly median in a daily dataset
Hello, I have a multi-year dataset (see below) with date, a data value and a flag for the data value. I want to find the monthly median for each month in this dataset and then plot it. If anyone has suggestions they would be greatly apperciated. It should be noted that there are some dates with no values and they should be removed. Thanks Emily > print ( str(data$flow$daily) )
2012 Mar 25
2
avoiding for loops
I have data that looks like this: > df1 group id 1 red A 2 red B 3 red C 4 blue D 5 blue E 6 blue F I want a list of the groups containing vectors with the ids. I am avoiding subset(), as it is only recommended for interactive use. Here's what I have so far: df1 <- data.frame(group=c("red", "red", "red", "blue",