pspp-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DATASET behaviour


From: fhouweling
Subject: Re: DATASET behaviour
Date: Tue, 9 Feb 2016 08:24:30 +0100 (CET)

Thanks, Ben.
I guess the difference lies in the interpretation of the asterisk: replace 
current file only if it is unnamed, otherwise create a new unnamed file.
Regards
frans

----- Messaggio originale -----
Da: "Ben Pfaff" <address@hidden>
A: "Frans Houweling" <address@hidden>
Cc: address@hidden
Inviato: Martedì, 9 febbraio 2016 5:26:46
Oggetto: Re: DATASET behaviour

On Sat, Jan 30, 2016 at 07:46:15PM +0100, Frans Houweling wrote:
>  I would like to signal a difference with respect to SPSS. The following
> script works in SPSS but not in PSPP:
> 
> DATA LIST LIST /area (F1.0) price (F12.0).
> BEGIN DATA
> 4    1805
> 1    1945
> 4    1412
> END DATA.
> DATASET COPY WORK_A.
> DATASET ACTIVATE WORK_A.
> AGGREGATE OUTFILE = * /BREAK = area /price = MEAN(price).
> DATASET NAME OTHER_1.
> DATASET DISPLAY.
> DATASET ACTIVATE WORK_A.
> 
> 
> In SPSS:
> - after the DATASET COPY command I see 2 files: *Untitled[] (active) and
> *Untitled[WORK_A]
> - after next command (DATASET ACTIVATE) I see *Untitled[WORK_A] (active)
> - after AGGREGATE I see *Untitled[WORK_A] and *Untitled[] (active)
> - after DATASET NAME I see *Untitled[WORK_A] and *Untitled[OTHER_1] (active)
> while PSPP has only 1 file left at this point.
> I tried PSPPIRE to follow the steps, but it I guess it doesn't honor the
> DATASET COPY command.

I want to let you know that I've confirmed the bug and plan to fix it.
DATASET COPY should work, and it has some tests in the testsuite, so I'm
curious about what's wrong.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]