[R] Installing polycor package
Kevelson, Marisol J
mkevelson at ets.org
Mon Oct 31 16:49:03 CET 2016
I have been trying to install the R polycor package without any success. I want to install version 0.7-8 because it is supposed to work with R version 3.1.0, which I have to use to run an R plug-in for SPSS. But I get a message that polycor is not available for R version 3.1.0:
> install.packages("polycor", repos="C:/Users/mkevelson/Documents/polycor_0.7-8 (1)/polycor/R")
Installing package into 'C:/Users/mkevelson/Documents/R/win-library/3.1'
(as 'lib' is unspecified)
Warning: unable to access index for repository C:/Users/mkevelson/Documents/polycor_0.7-8 (1)/polycor/R/bin/windows/contrib/3.1
package 'polycor' is not available (for R version 3.1.0)
I also tried installing the current version of polycor directly from R-Forge in R version 3.3.1, also without success:
> install.packages("polycor", repos="http://R-Forge.R-project.org")
Installing package into 'C:/Users/mkevelson/Documents/R/win-library/3.3'
(as 'lib' is unspecified)
also installing the dependency 'mvtnorm'
trying URL 'http://R-Forge.R-project.org/bin/windows/contrib/3.3/mvtnorm_1.0-5.zip'
Content type 'application/zip' length 408362 bytes (398 KB)
downloaded 292 KB
trying URL 'http://R-Forge.R-project.org/bin/windows/contrib/3.3/polycor_0.7-10.zip'
Content type 'application/zip' length 52183 bytes (50 KB)
downloaded 50 KB
Error in read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) :
cannot open the connection
In addition: Warning messages:
1: In download.file(url, destfile, method, mode = "wb", ...) :
downloaded length 299008 != reported length 408362
2: In unzip(zipname, exdir = dest) : error 1 in extracting from zip file
3: In read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) :
cannot open compressed file 'mvtnorm/DESCRIPTION', probable reason 'No such file or directory'
I would greatly appreciate any advice you have on how to successfully install the polycor package.
This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely for use by the individual for whom it is intended, even if addressed incorrectly. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited.
Thank you for your compliance.
[[alternative HTML version deleted]]
More information about the R-help