Data: Import from File: SPSS (SAV)...
SPSS Import option isn't installed by default in Origin.
Please run the Repair or Uninstall Origin or run Setup again. Choose Modify option. When it prompts to change Serial number, choose No. Then on the next page, check SPSS Import and finish the modification. SPSS Import will be installed.
In Origin, choose Data: Import from File: Add/Remove File Types.... Find SPSS on the left and move it to right. This will make the Data: Import from File: SPSS (SAV)... menu available.
To add drag & drop support for a file type, see Import Filter Manager.
This X-Function supports file re-import. See this topic for details.
Import SPSS File
1. impSPSS fname:="c:\test.sav";
2. impSPSS fname:="c:\spss_test.sav" options.sparklines:=0 option.bSaveFileInfo:=1;
Please refer to the page for additional option switches when accessing the x-function from script
Input
string
TreeNode
Output
Range
See the syntax here.
int
This X-Function is used for importing SPSS data files.
Details on Some Dialog Options
The following example shows how to import the SPSS data file (c:\spss_test.sav).
impFile, impinfo