I am trying to run your's RANFOR and RANPRED packages (I need to get probabilities for my classifications problems, and I am being lazy in programming...). However, when I try to run RANFOR I get the following error:
SPSSINC RANFOR DEPENDENT=conv
ENTER=SF MI GMI
/OPTIONS MISSING=ROUGH NUMTREES=500
/SAVE PROGRAMFILE="D:\Temp\Rrfs" FOREST="D:\Temp\Rfgdata.Rdata" RETAINFOREST.
>Error # 1. Command name: SPSSINC
>The first word in the line is not recognized as an SPSS Statistics command.
>Execution of this command stops.
Than I have to stop the processor (CTRL+.).
Now, I have ranForest library in R and it actually works with my RF spd dialog (see attached). Not sure what is wrong with RANFOR. I also installed the Phyton plugin (not sure what it is needed for...).
Can you help please?
NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
This topic has been locked.
8 replies Latest Post - 2012-06-21T17:18:17Z by SystemAdmin
Pinned topic Error in RANFOR package
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-06-21T17:18:17Z at 2012-06-21T17:18:17Z by SystemAdmin
Re: Error in RANFOR package2012-06-21T15:23:33Z in response to SystemAdminThat error indicates that the SPSSINC RANFOR command is not installed or you did not restart Statistics after installing it.
After you install this package and the prerequisites, you should see SPSSINC_RANFOR.xml and SPSSINC_RANPRED.xml files (assuming that you installed both), in the extensions subdirectory under your Statistics installation or wherever else you have designated for extension command storage.
If you are on Win7 and installed Statistics under Program Files, you might not have permission to write to that directory. If that is the case, see the FAQ on the Community site about solutions.
Re: Error in RANFOR package2012-06-21T16:43:49Z in response to SystemAdminuhum, indeed I don't get the PSSINC_RANFOR.xml and SPSSINC_RANPRED.xml on the extensions directory...
So, I just went back and installed the Phyton with Administrator privileges (R extension plugin were already installed)
Double clicked on the spd files, rewrote the previous ones... rerun spss statistics...
Can I just create an SPSS_RANFOR directory in the Extensions and add manualy the xml and py files?
Re: Error in RANFOR package2012-06-21T16:52:49Z in response to SystemAdminTo install the spd dialogs, one just need to unzip the RANFOR.Zip file and then double click the spd files, correct?
I realize that the py and xml files are in the unzipped folder... not sure if we supposed have to do something to these files?
Re: Error in RANFOR package2012-06-21T17:03:16Z in response to SystemAdminI'm not sure that the spd extension is registered, but if not you can just use Utilities > Custom Dialogs > Install Custom Dialog. The other files are just copied.
BTW, I plan to repackage these extensions as extension bundles when I have time and also eliminate the need for the Python plugin for them. Extension bundles, introduced in V18, make the installation process much easier.
Re: Error in RANFOR package2012-06-21T17:18:17Z in response to SystemAdminThere isn't supposed to be a ranfor subdirectory. The subdirectories you see for some of the extensions are from extension bundles that have translated dialog or output text. Ranfor and ranpred are not translated. We only translate extensions that are included in the Essentials.
Re: Error in RANFOR package2012-06-21T16:53:56Z in response to SystemAdminThe spd file is just the dialog box. To quote the installation instructions
"To install this procedure, unzip all of the files into the extensions subdirectory
of your SPSS Statistics installation. Next, in SPSS Statistics, use
Utilties>Install Custom Dialog
to add both items (*.spd files) to the menus."
the xml and py files go directly in the extensions subdirectory, not below it.