Thanks, Jon! This worked.
For others, after you install STATS PACKAGE INSTALL, go to Extensions -> Install Python and R Modules, insert a new row, add the missing package(s) from the error message (i.e., arules), and hit the Run arrow.
------------------------------
Amanda Felbab
------------------------------
Original Message:
Sent: Thu March 07, 2024 12:24 PM
From: Jon Peck
Subject: Error: R package could not be loaded
When an extension command is installed, the system tries to install any dependencies at the same time. Apriori depends on arules, which should have been automatically installed. Textanalysis does not use arules but would have other dependencies. It also needs some special additions, which it tries to install on first launch.
So, I suggest that you go to Extensions > Extension Hub and reinstall these. Check the box at the bottom "installed" so that it will show you the extensions you already have installed.
If the dependencies are still not satisfied, install the STATS PACKAGE INSTALL extension if you don't already have it and use it to get the dependencies. It will appear on the Extensions menu.
--
Original Message:
Sent: 3/7/2024 11:59:00 AM
From: Amanda Felbab
Subject: Error: R package could not be loaded
Hello-
I am using #IBMSPSSStatisticsversion 29.0.2.0. I used to be able to run all R extensions with no problem, but now I'm getting this error:
The R arules package is required but could not be loaded
I got this error when running both text analysis (v 1.5.0) and apriori (v 2.1.7). However, Random Forest (v 1.2.1) appears to work fine.
Has anyone else encountered this? Maybe I need an updated version of something? Any help is much appreciated!
------------------------------
Amanda Felbab
------------------------------