[R] Installing an Archived Package

Duncan Murdoch
2018-05-16T16:33:13Z

On 16/05/2018 11:24 AM, Evguenia Ignatova wrote:
> Hello,
>
> I am having difficulty installing the most recent compatible version of the
?polycor" package (0.7-8), for R 3.2.1 on my Mac. Here is the package
source page: https://cran.r-project.org/src/contrib/Archive/polycor/
<https://cran.r-project.org/src/contrib/Archive/polycor/>.
>
> This version of R is necessary for the R Essentials for the IBM Statistical
Package for Social Sciences (SPSS) extension. I found this thread on the problem
(http://r.789695.n4.nabble.com/Installing-polycor-package-td4726101.html
<http://r.789695.n4.nabble.com/Installing-polycor-package-td4726101.html>)
but it does not offer much help as my SPSS version will not recognize the most
recent versions of R.

I'd suggest contacting IBM for support.

>
> The polycor package is not available in the repository of R 3.2.1. Here is
the code I tried to install the package from the archive and the errors I
received:
>
>> install.packages("/polycor_0.7-8.tar", repos=NULL,
type="source")
> Warning: invalid package ?/polycor_0.7-8.tar?

As Michael said, you shouldn't unpack the tar.gz file.

Duncan Murdoch