Discussion:
Can't import data to PSPP (Syntax error)
(too old to reply)
Manuel Soares
2018-02-12 21:28:17 UTC
Permalink
Hello,
I'm having some problems to import data to PSPP. I saved the excel file in csv format, but when I tried to import it to PSPP I always get this message:
error: could not open C\etc\etc\etc.csv No such file or directoryGET DATA\TYPE=TXT\FILE="C\etc\etc.csv\ARRANGEMENT=DELIMITED\DELCASE=LINE\DELIMITERS=","\VARIABLES=.1:error: Syntax error at end of command
Can someone help me, please? I need to finish this paper very soon and I'm stuck with this PSPP issue.
Ben Pfaff
2018-02-13 02:00:07 UTC
Permalink
Post by Manuel Soares
Hello,
I'm having some problems to import data to PSPP. I saved the excel file in csv
error: could not open C\etc\etc\etc.csv No such file or directory
GET DATA
\TYPE=TXT
\FILE="C\etc\etc.csv
\ARRANGEMENT=DELIMITED
\DELCASE=LINE
\DELIMITERS=","
\VARIABLES=
.1:error: Syntax error at end of command
Can someone help me, please? I need to finish this paper very soon and I'm
stuck with this PSPP issue.
There's a lot wrong here. Maybe you should use the GUI to read the
file.
ftr public
2018-02-14 11:11:08 UTC
Permalink
Hello Manuel,

As Ben says try to import through the GUI. Or maake a copy and paste
from the manual and delete everything you don't need.

In particular, you did not finish the line \FILE= with the delimiter ".

Did you succeed in importing ?

Regards

ftr
Post by Manuel Soares
Hello,
I'm having some problems to import data to PSPP. I saved the excel
file in csv format, but when I tried to import it to PSPP I always get
error: could not open C\etc\etc\etc.csv No such file or directory
GET DATA
\TYPE=TXT
\FILE="C\etc\etc.csv
\ARRANGEMENT=DELIMITED
\DELCASE=LINE
\DELIMITERS=","
\VARIABLES=
.1:error: Syntax error at end of command
Can someone help me, please? I need to finish this paper very soon and
I'm stuck with this PSPP issue.
_______________________________________________
Pspp-users mailing list
https://lists.gnu.org/mailman/listinfo/pspp-users
Ben Pfaff
2018-02-14 17:14:42 UTC
Permalink
I guess the other big error is that all the \ (except in the filename)
should be /. And there's no list of variables.
Post by ftr public
Hello Manuel,
As Ben says try to import through the GUI. Or maake a copy and paste from
the manual and delete everything you don't need.
In particular, you did not finish the line \FILE= with the delimiter ".
Did you succeed in importing ?
Regards
ftr
Hello,
I'm having some problems to import data to PSPP. I saved the excel file in
error: could not open C\etc\etc\etc.csv No such file or directory
GET DATA
\TYPE=TXT
\FILE="C\etc\etc.csv
\ARRANGEMENT=DELIMITED
\DELCASE=LINE
\DELIMITERS=","
\VARIABLES=
.1:error: Syntax error at end of command
Can someone help me, please? I need to finish this paper very soon and I'm
stuck with this PSPP issue.
_______________________________________________
Pspp-users mailing list
https://lists.gnu.org/mailman/listinfo/pspp-users
_______________________________________________
Pspp-users mailing list
https://lists.gnu.org/mailman/listinfo/pspp-users
ftr public
2018-03-18 16:39:11 UTC
Permalink
There is no inline image.

-ftr
Inline image
------------------------------------------------------------------------
*Sent:* Wednesday, February 14, 2018 11:12 AM
*Subject:* Re: Can't import data to PSPP (Syntax error)
Hello Manuel,
As Ben says try to import through the GUI. Or maake a copy and paste
from the manual and delete everything you don't need.
In particular, you did not finish the line \FILE= with the delimiter ".
Did you succeed in importing ?
Regards
ftr
Post by Manuel Soares
Hello,
I'm having some problems to import data to PSPP. I saved the excel
file in csv format, but when I tried to import it to PSPP I always
error: could not open C\etc\etc\etc.csv No such file or directory
GET DATA
\TYPE=TXT
\FILE="C\etc\etc.csv
\ARRANGEMENT=DELIMITED
\DELCASE=LINE
\DELIMITERS=","
\VARIABLES=
.1:error: Syntax error at end of command
Can someone help me, please? I need to finish this paper very soon
and I'm stuck with this PSPP issue.
_______________________________________________
Pspp-users mailing list
https://lists.gnu.org/mailman/listinfo/pspp-users
_______________________________________________
Pspp-users mailing list
https://lists.gnu.org/mailman/listinfo/pspp-users
Loading...