[R] Installing polycor package

Jeff Newmiller jdnewmil at dcn.davis.ca.us
Mon Oct 31 22:02:30 CET 2016

"any advice" is to use the latest R and packages. Unfortunately the number of things that can go wrong trying to keep an old version of R working is too extensive for this list to support (per Posting Guide).

If you wish to proceed without support then by all means download any older versions of the packages that you need from the CRAN archives manually and install those files directly rather than trying to automatically download and install. Keep in mind that contributed package authors might have fixed bugs since then though so you may not have access to a fully-functional R analysis environment. While such authors might help you out if you get into a bind, don't be surprised if they won't... it can be enough of a headache to keep the current version of their package working without adding a whole separate historical version going too.
Sent from my phone. Please excuse my brevity.

On October 31, 2016 8:49:03 AM PDT, "Kevelson, Marisol J" <mkevelson at ets.org> wrote:
>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
>(as 'lib' is unspecified)
>Warning: unable to access index for repository
>Warning message:
>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
>(as 'lib' is unspecified)
>also installing the dependency 'mvtnorm'
>trying URL
>Content type 'application/zip' length 408362 bytes (398 KB)
>downloaded 292 KB
>trying URL
>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
>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.
>Thank you,
>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]]
>R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>PLEASE do read the posting guide
>and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list