Hello Curtis,
Thank you for your help. I uninstalled SPSS 29 from drive Z:\ and reinstalled it to drive C:\. I did not create a new directory because when I ran SPSS 29 from drive C:\ and ZEROINFL again, a different error occurred:
So I opened a new syntax and ran SHOW EXPATHS PLUGINS., again, to make sure everything was back in C:\ drive, and this was the output:
Then I tried BEGIN PROGRAM R., as Rick suggested earlier and this was the output:
>Error # 4702 in column 6. Text: (
>An unexpected symbol was encountered on an output command.
>Execution of this command stops.
>Error # 4700 in column 7. Text: sessionInfo
>An output command contains an unrecognized keyword. The recognized keywords
>are OUTFILE, RECORDS, TABLE, NOTABLE ENCODING and BOM.
>Error # 4702 in column 18. Text: (
>An unexpected symbol was encountered on an output command.
>Error # 4702 in column 19. Text: )
>An unexpected symbol was encountered on an output command.
>Error # 4702 in column 20. Text: )
>An unexpected symbol was encountered on an output command.
>Error # 4700 in column 1. Text: end
>An output command contains an unrecognized keyword. The recognized keywords
>are OUTFILE, RECORDS, TABLE, NOTABLE ENCODING and BOM.
>Error # 4700 in column 5. Text: program
>An output command contains an unrecognized keyword. The recognized keywords
>are OUTFILE, RECORDS, TABLE, NOTABLE ENCODING and BOM.
I'm not sure what I'm doing wrong. What do I do now? Thanks.
------------------------------
Ian Hobbs
------------------------------
Original Message:
Sent: Thu January 26, 2023 09:48 AM
From: Curtis Browning
Subject: SPSS 28.0.1.1 and R Extension STATS ZEROINFL
Hello @Ian Hobbs, this may be caused by installing Statistics to the root of a drive (in this case your Z: drive). It appears that the separate R language interpreter is not setup to handle that.
I suggest that you:
1. Uninstall Statistics from Z:\
2. Create a new directory under Z:\ such as Z:\SPSS
3. Reinstall Statistics to the sub-directory created in step #2 above
Let us know if this fixes your problem.
Best,
------------------------------
Curtis Browning
SPSS Statistics Architect
Original Message:
Sent: Thu January 26, 2023 09:10 AM
From: Rick Marcantonio
Subject: SPSS 28.0.1.1 and R Extension STATS ZEROINFL
The only things I can think of at this point would be:
1) To change the radio button selection to the second choice - "Other installation of R" and point it to the Z:\R location.
2) Install R on the C: drive and point to that installation.
I've been in contact with a developer who may be able to lend a hand; I have asked for his help. As for me, if these two options I've suggested don't work, I'm at a loss as to why, especially since Python appears to work from the Z drive location with the settings just as they are. It may well be a bug in the system that we will want to take a look at.
------------------------------
Rick Marcantonio
Quality Assurance
IBM
Original Message:
Sent: Wed January 25, 2023 11:08 PM
From: Ian Hobbs
Subject: SPSS 28.0.1.1 and R Extension STATS ZEROINFL
Yes, that is exactly what it looks like. What do I need to do next?
------------------------------
Ian Hobbs
Original Message:
Sent: Wed January 25, 2023 05:39 PM
From: Rick Marcantonio
Subject: SPSS 28.0.1.1 and R Extension STATS ZEROINFL
Let me check one other thing:
Edit > Options > File Locations
Please make sure that the radio button "Installed with IBM SPSS Statistics" is selected.
------------------------------
Rick Marcantonio
Quality Assurance
IBM
Original Message:
Sent: Wed January 25, 2023 05:34 PM
From: Ian Hobbs
Subject: SPSS 28.0.1.1 and R Extension STATS ZEROINFL
So what do I need to do now exactly?
------------------------------
Ian Hobbs
Original Message:
Sent: Wed January 25, 2023 03:40 PM
From: Rick Marcantonio
Subject: SPSS 28.0.1.1 and R Extension STATS ZEROINFL
I should ask if Python is working.... Are you able to run extensions using it, such as Lasso or Ridge Regression?
------------------------------
Rick Marcantonio
Quality Assurance
IBM
Original Message:
Sent: Wed January 25, 2023 02:58 PM
From: Ian Hobbs
Subject: SPSS 28.0.1.1 and R Extension STATS ZEROINFL
Yes! It's a backup drive I installed because my C drive is puny at only 250G (yeah, I'm old school like that). Is that causing the issue?
------------------------------
Ian Hobbs
Original Message:
Sent: Wed January 25, 2023 02:16 PM
From: Rick Marcantonio
Subject: SPSS 28.0.1.1 and R Extension STATS ZEROINFL
Can you tell me where Z:\ is? It is a remote drive?
------------------------------
Rick Marcantonio
Quality Assurance
IBM
Original Message:
Sent: Wed January 25, 2023 02:10 PM
From: Ian Hobbs
Subject: SPSS 28.0.1.1 and R Extension STATS ZEROINFL
Apologies for the delay and thank you for the quick follow-up responses. OK, here's the output from the syntax window:
------------------------------
Ian Hobbs
Original Message:
Sent: Wed January 25, 2023 12:31 PM
From: Rick Marcantonio
Subject: SPSS 28.0.1.1 and R Extension STATS ZEROINFL
At least we know it isn't a Win11 thing per se, nor is it a general problem with installation for all users.
We have to figure out what's different with this install. Copy and paste the following to a syntax window, run it, and let us see what you get:
SHOW EXTPATHS PLUGINS.
------------------------------
Rick Marcantonio
Quality Assurance
IBM
Original Message:
Sent: Wed January 25, 2023 11:43 AM
From: Ian Hobbs
Subject: SPSS 28.0.1.1 and R Extension STATS ZEROINFL
I have version 29 as well and still get this error. Any ideas what I can do to fix this? Thank you.
------------------------------
Ian Hobbs
Original Message:
Sent: Wed January 25, 2023 11:19 AM
From: Rick Marcantonio
Subject: SPSS 28.0.1.1 and R Extension STATS ZEROINFL
Hi. I have tried version 29 and version 28.0.1 on a Win11 machine, and ZEROINFL works for me.
------------------------------
Rick Marcantonio
Quality Assurance
IBM
Original Message:
Sent: Tue January 24, 2023 08:03 PM
From: Ian Hobbs
Subject: SPSS 28.0.1.1 and R Extension STATS ZEROINFL
I'm receiving an error code #6894 every time I click Analyze<Generalized Linear Models<Zero Inflated Count Models. I've searched everywhere for the solution to this but I can't find anything related to this particular issue. I am using Windows 11, which some on Reddit have said might be the issue. This is the output:
------------------------------
Ian Hobbs
------------------------------