First, are you sure that the install actually failed? Try this code.
begin program r.
library(WRS2)
end program.
If WRS2 is installed, you might be okay.
However, if you need X11 support, Apple stopped distributing this some time ago, and you would need to install quartz or XQuartz first. I'm not a Mac user, but I found these instructions for this. "here" is
Also, there is a nonparametric ANOVA extension, STATS QUADE ANCOVA, available via
Extensions > Extension Hub that is implemented in Python and might suit your needs.
--
Original Message:
Sent: 9/10/2023 4:39:00 AM
From: Destiny Ramos
Subject: RE: How to work with WRS2 package in SPSS 29?
Hello, I use the same textbook by Andy Fields as well, I am also having the same issue, there is a description in the book on how to install the WRS2 package via syntax to be able to run robust one-way independent ANOVA. Unfortunately, this description does not work for SPSS version 29 (version 24 is used in the book).
I noticed that with the SPSS package I bought it came with the packages for Python as well as R but it says I cannot use it because I only have the Mac OS 10.13.6, but it says i need Mac OS 10.14 which is currently not out yet. Therefore, I followed the steps and downloaded the R-3.2.4.pkg file from the https://www.r-project.org/ website through the CRAN link. Then I tried to run the WRS2 package via the syntax, but it keeps giving me error messages.
The first way I was running it was like this (the way the book explains on how to do it):
BEGIN PROGRAM R.
install.packages("WRS2")
END PROGRAM.
But it did not work so I tried to do it the way that Mr. Jon Peck said to:
STATS PACKAGE INSTALL R=WRS2.
After that I got this message:
I'm not really sure what the issue is, if someone can please help me I would appreciate it.
Thanks so much.
Destiny
------------------------------
Destiny Ramos
------------------------------
Original Message:
Sent: Fri August 25, 2023 11:57 AM
From: Jon Peck
Subject: How to work with WRS2 package in SPSS 29?
It looks to me like the package install worked. The warning about sources being newer is generally harmless and only means that there might be a newer version in source form than the binaries. Compiling the binaries on your system would require a compiler and possibly some R development packages that you probably don't have installed.
I don't see anything that suggests that you tried to run the WRS2 package after installing it.
--
Original Message:
Sent: 8/24/2023 2:49:00 PM
From: Guillaume Simon
Subject: RE: How to work with WRS2 package in SPSS 29?
Hi, I use the same textbook. I'm trying to use Esssentials for R and the WRS2 package with SPSS 28. But I don't believe it works.
This is what is displayed:
Thanks in advance,
------------------------------
Guillaume Simon
Original Message:
Sent: Fri August 04, 2023 09:13 AM
From: Jon Peck
Subject: How to work with WRS2 package in SPSS 29?
STATS PACKAGE INSTALL is an extension command, so you use it like regular syntax. Don't enclose it in a BEGIN/END PROGRAM block.
If you are saying that just running STATS PACKAGE INSTALL like a regular command doesn't work, I need more information. What happens when you run it? What do you see? When I ran it, the package installed without a problem.
--
Original Message:
Sent: 8/4/2023 8:50:00 AM
From: Kristina Brahmstaedt
Subject: RE: How to work with WRS2 package in SPSS 29?
Hi Jon,
thanks for your answer. I still don't quite understand how to install the WRS2 package. I have installed the R packages via the extensions hub. There does not seem to be a WRS2 extension to install or a Stats Package Install. To start the installation via syntax with
R BEGIN.
STATS PACKAGE INSTALL R=WRS2
END PROGRAM.
or just STATS PACKAGE INSTALL R=WRS2. does not work.
Can you give me a helping hand?
Best,
Kristina
------------------------------
Kristina Brahmstaedt
Original Message:
Sent: Mon July 31, 2023 05:12 PM
From: Jon Peck
Subject: How to work with WRS2 package in SPSS 29?
I'm not sure what you mean by having the package activated. If it isn't already installed, you can add it using the STATS PACKAGE INSTALL extension command. You might have to install that first from the Extensions > Extension Hub menu or run syntax like this.
STATS PACKAGE INSTALL R=WRS2.
Once it is installed, though, you would have to write the little R BEGIN/END PROGRAM block to use that module. If you look at the code for any of the R-based extension commands, you can see that that can be hundreds of lines of R code, but a bare bones program might only need to use the
spssdata.GetDataFromSPSS api and the code specific to that module to run the procedure and display the results.
--
Original Message:
Sent: 7/30/2023 4:37:00 PM
From: Kristina Brahmstaedt
Subject: How to work with WRS2 package in SPSS 29?
Hello everyone,
I work with the book "Discovering statistics using IBM SPSS Statistics" (5th edition) by Andy Field. Perhaps some of you know it. However, there is a description on how to install the WRS2 package via syntax to be able to run robust one-way independent ANOVA. Unfortunately, this description does not work for SPSS version 29 (version 25 is used in the book). I have the R package activated.
Does anyone know how to work with the Wilcox' WRS package in SPSS 29 or is there another method in this version on how to run robust one-way independent ANOVA?
Thanks in advance,
Kristina
------------------------------
Kristina Brahmstaedt
------------------------------