Hi all
When I try to export a data file in SPSS (.sav) format, I get a message saying the file name contains an illegal character. (See attachment.)
I can export the same file as .csv, and I can save the .omi file without similar errors using the same file name.
And I get the same error message whatever file name I use (even just the single character "a").
Any thoughts?
P.
Exporting data in SPSS format
Exporting data in SPSS format
- Attachments
-
- Capture.PNG (43.06 KiB) Viewed 8423 times
Re: Exporting data in SPSS format
yeah, we need to improve this error message, or handle it better. the error message actually refers to your column names. you've got a column name which isn't supported by the .sav file format.
cheers
jonathon
cheers
jonathon
Re: Exporting data in SPSS format
Hi, PeteD.
If you used the hyphen as a union in the name of your variable (s) (as you did in the file name), you must remove it or replace it with another character (for example the underline).
In SPSS, the hyphen (and other) is not appreciated in the name of the variables and for this reason, jamovi sends you this message when you try to export the file in the format (.sav).
Cheers,
Maurizio
If you used the hyphen as a union in the name of your variable (s) (as you did in the file name), you must remove it or replace it with another character (for example the underline).
In SPSS, the hyphen (and other) is not appreciated in the name of the variables and for this reason, jamovi sends you this message when you try to export the file in the format (.sav).
Cheers,
Maurizio
Re: Exporting data in SPSS format
Yes, the *variable names* were the problem, *not* the file name as the error message stated. There was no issue with the file name.
Easy to fix when the error message points to the correct place! All good now.
P.
Easy to fix when the error message points to the correct place! All good now.
P.
Re: Exporting data in SPSS format
> *not* the file name as the error message stated
to be fair, the error message never mentioned the file name
this error message is thrown up by the readstat library ... but we need to wrap it and ensure it makes sense in the context of saving a file.
cheers
jonathon
to be fair, the error message never mentioned the file name
this error message is thrown up by the readstat library ... but we need to wrap it and ensure it makes sense in the context of saving a file.
cheers
jonathon