Hello Michael and Duncan,
Thank you for your pointers. The file downloaded without the “gz”
extension to my R working directory folder as a “tar” file. I did not
unpack the file. I tried renaming the file and running the code with “gz”
added - please see below.
install.packages("/polycor_0.7-8.tar.gz", repos=NULL, type="source")
Warning: invalid package ‘/polycor_0.7-8.tar.gz’
Error: ERROR: no packages specified
Warning message:
In install.packages("/polycor_0.7-8.tar.gz", repos = NULL, type =
"source") :
installation of package ‘/polycor_0.7-8.tar.gz’ had non-zero exit status
IBM support is pretty much useless as they do not offer support to
students (I am a graduate student) and redirect me to the forums when I
call them. I posted in their support forum once and no one ever responds.
However, based on the SPSS add-on instructions, it is clear that I need a
specific version of R. I do not logically see another alternative to
installing the package for this version of R. I am very confused as to why
the standard procedures for installing an R package are not working for the
archived version of this package.
Any other suggestions?
Thanks again,
Evguenia
On May 16, 2018, at 12:33 PM, Duncan Murdoch <murdoch.dun...@gmail.com>
wrote:
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
Error: ERROR: no packages specified
Warning message:
In install.packages("/polycor_0.7-8.tar", repos = NULL, type =
"source") :
installation of package ‘/polycor_0.7-8.tar’ had non-zero exit status
install.packages("https://cran.r-project.org/src/
contrib/Archive/polycor/polycor_0.7-8.tar.gz", repos=NULL, type="source")
Error in download.file(p, destfile, method, mode = "wb", ...) :
unsupported URL scheme
Any ideas for other alternatives would be greatly appreciated. Thank
you for your time!
Best,
Evguenia
[[alternative HTML version deleted]]
______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/
posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
On May 16, 2018, at 12:29 PM, Michael Dewey <li...@dewey.myzen.co.uk>
wrote:
Dear Evguenia
What happens if you manually download the version you want and run
install.packages() on that file? Your first attempt is on a .tar file not
on the tar.gz file in the archive, not sure if that makes a difference.
Michael
On 16/05/2018 16:24, 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.
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’
Error: ERROR: no packages specified
Warning message:
In install.packages("/polycor_0.7-8.tar", repos = NULL, type =
"source") :
installation of package ‘/polycor_0.7-8.tar’ had non-zero exit status
install.packages("https://cran.r-project.org/src/
contrib/Archive/polycor/polycor_0.7-8.tar.gz", repos=NULL, type="source")
Error in download.file(p, destfile, method, mode = "wb", ...) :
unsupported URL scheme
Any ideas for other alternatives would be greatly appreciated. Thank you
for your time!
Best,
Evguenia
[[alternative HTML version deleted]]
______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/
posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Michael
http://www.dewey.myzen.co.uk/home.html
______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/
posting-guide.html
and provide commented, minimal, self-contained, reproducible code.