1 PSPP NEWS -- history of user-visible changes.
2 Copyright (C) 1996-2000, 2008-2016, 2017, 2019, 2020, 2021,
3 2022 Free Software Foundation, Inc.
4 See the end for copying conditions.
6 Please send PSPP bug reports to bug-gnu-pspp@gnu.org.
8 Changes from 1.6.2 to 2.0.0-pre1:
10 * The CTABLES command is now implemented.
12 * FREQUENCIES now honors the LAYERED setting on SPLIT FILE.
16 - New aggregation functions CGT, CLT, CIN, and COUT.
18 - Break variables are now optional.
20 * ADD FILES, MATCH FILES, and UPDATE now allow string variables with
21 the same name to have different widths.
23 * CROSSTABS now calculates significance of Pearson and Spearman
24 correlations in symmetric measures.
26 * DISPLAY MACROS is now implemented.
28 * SHOW ENVIRONMENT is now implemented.
30 * Removed the MODIFY VARS command, which is not in SPSS.
32 * Building from a Git repository, which previously required GIMP, now
33 requires rsvg-convert from librsvg2 instead.
35 * The pspp-dump-sav program is no longer installed by default.
37 Changes from 1.6.1 to 1.6.2:
39 * Previously, numeric variables defaulted to "scale" measurement
40 level. Now, the default is "unknown", with a better guess chosen
41 based on heuristics the first time the data is read.
45 Changes from 1.6.0 to 1.6.1:
47 * The SET command now supports LEADZERO for controlling output of a
48 leading zero in F, COMMA, and DOT format.
50 * Bug fixes and translation updates.
52 Changes from 1.4.1 to 1.6.0:
54 * In the Kruskal-Wallis test, a misleading result could occur
55 if the lower bound specified by the user was in fact higher
56 than the upper bound specified. This has been fixed.
58 * The DEFINE, MATRIX, MCONVERT, and MATRIX DATA commands are now
61 * An error in the displayed signficance of oneway anova
62 contrasts tests has been corrected.
64 * Added Drag-N-Drop in output view.
66 * The Explore GUI dialog supports the "Plots" subdialog. Boxplots, Q-Q Plots
67 and Spreadlevel plots are now also available via the GUI.
69 * The graphical user interface for importing spreadsheets has been improved.
70 The new interface provides the user with a preview of the data to be imported
71 and interactive methods to select the desired ranges.
73 * The user manual, in its Info and HTML versions, now includes
74 graphical output examples and screenshots.
76 * New command SHOW SYSTEM to easily print system information useful
81 - Perl is no longer required to build.
83 - Build now requires Python 3.4 or later. (Building PSPP 1.4.0
84 also required Python, but it wasn't properly documented at the
87 - The Cairo and Pango libraries are now required.
89 - gettext 0.20 or later is now required.
91 - gtksourceview 4.x is now supported (3.x also remains supported).
93 * Output improvements:
95 - New drivers for output to TeX source files and to PNG files.
97 - Table output styles may now be set with the new option
98 --table-look and the new SET TLOOK command.
100 - New driver option "trim" to remove empty space from PDF,
101 PostScript, SVG, and PNG output files.
103 - The PDF output driver now adds an outline to allow PDF viewers to display
104 as a "table of contents" for the file.
106 - The HTML output driver has a new option "bare".
108 * New features in pspp-output:
110 - New --table-look and --nth-commands options.
112 - New get-table-look and convert-table-look commands.
114 Changes from 1.4.0 to 1.4.1:
118 * Translation updates.
120 * HTML output is now HTML5 instead of HTML4.0 Transitional.
122 * The HOST command has been reimplemented. It now supports TIMELIMIT.
124 Changes from 1.2.0 to 1.4.0:
126 * The file pspp-mode.el (the pspp-mode for Emacs) is no longer distributed
127 with PSPP. Instead, it can be installed directly in emacs and is available
128 from https://elpa.gnu.org/packages/pspp-mode.html
130 * The Find dialog box, when searching for numeric values, will match only
131 to the precision of the variable's print format. This avoids behaviour
132 which is surprising to some users.
134 * PSPP now supports the SPSS viewer (.spv) format that SPSS 16 and later
135 use to save the contents of its output editor:
137 - PSPP and PSPPIRE can write output to .spv files.
139 - The new utility pspp-output can convert .spv files to other formats.
141 - The pspp-convert utility can now decrypt encrypted .spv files. The
142 encrypted viewer file format is unacceptably insecure, so to
143 discourage its use PSPP and PSPPIRE do not directly read or write
146 * A bug where the Data|Select Cases|Random Sample menu would generate
147 invalid syntax has been fixed.
149 * FREQUENCIES will emit a warning if one or more weight values are missing.
151 * Plain text output is no longer divided into pages, since it is now
152 rarely printed on paper.
154 * pspp-convert improvements:
156 - New "-a", "-l", "--password-list" options to search for an
157 encrypted file's password.
159 - New "--keep" and "--drop" options to output only selected variables.
161 - New "--recode", "--no-var-name", "--labels", "--print-formats",
162 "--decimal", "--delimiter", and "--qualifier" options to control
165 * Improvements to SAVE DATA COLLECTION support for MDD files.
167 * Bug fix for CVE-2018-20230.
169 * The /RENAME subcommand in SAVE TRANSLATE et al. has been extended
170 to support the syntax also accepted by other software.
172 * The EXAMINE command will now perform the Shapiro-Wilk test when
173 one or more plots are requested.
175 * The REGRESSION command now supports the /STATISTICS=TOL option which
176 outputs tolerance and variance inflation factor metrics for the data.
178 * The QUICK CLUSTER command now supports the /SAVE option which can
179 be used to save the cases' cluster membership and/or their distance
180 from the cluster centre to the active file.
182 * The MEANS command has been re-implemented.
184 * The GUI now has a sub-dialog for post-hoc tests of the oneway
187 * Gtk+3.22.0 or later must now be used when building.
189 * GRAPH: Categorical barcharts displaying percentages now show the
190 sub-category as a percentage of the primary category instead of the
193 * The Syntax Window now has a Find function to perform simple text
198 - The PRINT subcommand is now implemented.
202 Changes from 1.0.1 to 1.2.0:
204 * New experimental command SAVE DATA COLLECTION to save MDD files.
206 * MTIME and YMDHMS variable formats now supported.
210 - zlib is now a required dependency. (Previously it was optional.)
212 - Gtk+3.18.0 or later must now be used when building.
214 - The code implementing the sheet rendering has been removed. Instead we
215 use a third party library: spread-sheet-widget.
217 * The "NOMISSING" keyword when generating syntax for piecharts in the
218 frequencies command was omitted. This has been corrected.
220 Changes from 1.0.0 to 1.0.1:
222 * Bug fixes, including fixes for CVE-2017-12958, CVE-2017-12959,
223 CVE-2017-12960, and CVE-2017-12961.
225 Changes from 0.11.0 to 1.0.0:
227 * Translation updates.
229 Changes from 0.10.2 to 0.11.0:
231 * The REGRESSION command now has a /ORIGIN subcommand to perform
232 regression through the origin.
234 * The FACTOR command can now analyse matrix files prepared with MATRIX DATA.
236 * The FACTOR command can now print the anti-image matrices.
238 * The MATRIX DATA command has been added.
240 * Some inappropriate properties in selection dialogs have been corrected.
242 * A bug which could cause the HTML driver to go into a tight loop
245 * An error in the FREQUENCIES procedure, where the word "Mean" was
246 printed when "Variance" was appropriate has been fixed.
248 * The ncurses library is no longer required or used.
250 * A bug where the Mann-Whitney test would give misleading results
251 if run on multiple variables and MISSING=ANALAYSIS was specified
254 * Gtk+3.14.5 or later must now be used when building.
256 * Graphical user interface changes:
258 ** There is a new menu: Edit|Options
260 ** The Non Parametric Statistics Menu has a new item: "K Independent Samples".
262 ** Dialog boxes can now be canceled using the <Escape> key.
264 * The AUTORECODE command now accepts an optional / before INTO.
266 * The short form of the VECTOR command can now create string variables.
268 * Bug fixes, including fixes for CVE-2017-10791 and CVE-2017-10792.
270 Changes from 0.10.1 to 0.10.2:
272 * CROSSTABS implements a new COUNT subcommand to round case or cell
275 * Help will be opened as HTML in default browser if yelp
278 * When plotting scatterplots with only one dataset (the simple case)
279 the colour used for the dataset is now black. The previous default
280 from the Tango palette was too faint to see easily.
282 * The varible info dialog could previously only paste a single variable.
283 Now it can paste multiple variables.
285 * Bug fixes, including the following:
287 - T-test with independent samples GUI crashed with string
288 type variable as group variable.
290 - The variable info dialog showed the previous selected variable
291 superimposed with the currently selected one.
293 - The GLM command did not properly deal with missing values. This
296 Changes from 0.10.0 to 0.10.1:
298 * Bug fixes, including the following:
300 - A bug where certain dialog boxes could not be properly populated
303 - Various commands have been hardened against errors when called
306 * Translation updates. Thanks to our translators!
308 Changes from 0.8.5 to 0.10.0:
310 * The QUICK CLUSTER command has a /PRINT subcommand which shows
311 the initial cluster centres and the final cluster membership of
312 each case. The clustering algorithm has also been updated, so
313 as to produce better separated clusters.
315 * A Russian localisation has been contributed.
317 * The GRAPH command now has a /BAR subcommand to draw barcharts.
319 * If the DECIMAL character is set to COMMA then the ',' character
320 will not be treated as a separator by DATA LIST.
322 * The graphical user interface (psppire) has been changed as follows:
324 - It now uses Gtk+ version 3 instead of version 2. Accordingly, it has a
325 somewhat different look and feel.
327 - There is now a Graphs menu to access the GRAPH command.
329 - The status of dialog box widgets are now preserved between calls
330 to the same dialog box for the same dataset.
332 - The dialog box for the Logistic Regression command will now
333 infer that string variables or any varible with a "measure"
334 of Nominal or Ordinal are to be treated as categorical variables
335 and will generate syntax accordingly.
337 * The pspp-convert utility can now decrypt encrypted syntax files.
338 The encrypted syntax file format is unacceptably insecure, so to
339 discourage its use PSPP and PSPPIRE do not directly read or write
346 * The following functions for transformation expressions are new:
348 - REPLACE, for search-and-replace of one string with another.
350 - STRUNC, to truncate a string and trim trailing spaces.
352 - MEDIAN, to compute the median of its arguments.
354 - The TRUNC function in expressions now supports additional arguments
355 for truncating to values other than integers and to indicate a level
356 of rounding fuzz. The default rounding fuzz may now be controlled
357 and displayed with SET FUZZBITS and SHOW FUZZBITS, respectively.
359 * Bug fixes, including the following notable ones:
361 - The correlation coefficient in the paired samples t-test
362 procedure is now correctly calculated when presented with
365 - The ESCAPE subcommand has been removed from GET DATA /TYPE=TXT.
366 For compatibility, the behavior that ESCAPE enabled is now the
367 default and only supported behavior.
369 - Rendering of the variable and data sheets in right-to-left locales
372 - The Mann-Whitney test, when run on a dataset containing values
373 of the group variable, other than those defining the test groups,
374 would incorrectly calculate the ranks. This has been corrected.
376 * The IMPORTCASES subcommand on GET DATA is now ignored, for
379 Changes from 0.8.4 to 0.8.5:
381 * The FREQUENCIES and CROSSTABS commands can now generate barcharts.
383 * The FACTOR command can now perform PROMAX rotations.
385 * SPSS/PC+ system files are now supported on GET and other commands
386 that read SPSS system files. The pspp-convert program can now read
387 SPSS/PC+ system files. Writing the obsolete SPSS/PC+ system file
388 format is not supported.
390 * SYSFILE INFO can now read SPSS/PC+ system files and SPSS portable
393 * FREQUENCIES: A bug was fixed where an assertion failure occurred
394 when an empty dataset was presented.
396 * The GRAPH command is now available. Initially it supports
397 scatterplots and histograms.
399 * The RND operator in expressions now supports additional operands
400 for rounding to values other than integers and to indicate a level
401 of rounding fuzz. The default rounding fuzz may now be controlled
402 and displayed with SET FUZZBITS and SHOW FUZZBITS, respectively.
404 Changes from 0.8.3 to 0.8.4:
406 * Formatting of SYSFILE INFO output was made easier to read.
408 * Bug fixes, including the following notable ones:
410 - FREQUENCIES works properly for string variables. (This bug was
411 introduced in 0.8.2.)
413 - CROSSTABS now correctly computes all of the measures that it
414 offers. Some measures have been removed because they were not
417 - The NPAR TESTS calculation of significance for the RUNS
418 subcommand has been corrected.
420 - Planned comparisons in ONEWAY ANOVA now correctly handle negative
423 - The COUNT command now correctly treats missing values as
426 - Conformance fixes to Open Document output format.
428 Changes from 0.8.2 to 0.8.3:
430 * Independent T-Tests displayed the standard error of the difference
431 and the confidence interval for the unequal variances case, where
432 the equal variances case should have been. This has been fixed.
434 * REGRESSION now recognises /STATISTICS=CI(x) which causes confidence
435 intervals for the coefficients to be printed.
437 * When DESCRIPTIVES calculates Z scores, it now omits cases filtered
438 by the current FILTER settings.
440 * PSPPIRE graphical user interface improvements:
442 - Dialog boxes with source variable lists can now choose the sort
443 order; right click and select from the popup menu.
445 - File|Open now allows an encoding to be selected for opening
448 - File|Display Data File Information|External File... now allows an
449 encoding to be selected.
451 - A problem with the Means dialog has been resolved (bug #41433).
453 - Several problems related to the input of spreadsheets have been
454 fixed (bug #41657, #41620
456 * System file related improvements:
458 - With ENCODING="DETECT", SYSFILE INFO can now help the user to
459 pick an encoding for reading a system file that does not identify
462 - SYSFILE INFO now accepts an ENCODING subcommand to specify the
463 character encoding of string data in the system file.
465 - Variable labels over 255 bytes long are now accepted without
466 truncation (bug #41863).
468 - System files that contain duplicate variable names may now be
469 read successfully (bug #41475).
471 Changes from 0.8.1 to 0.8.2:
473 * Charts are now rendered with colours from the Tango palette instead
474 of fully saturated primaries.
476 * Support for new system file variants:
478 - PSPP can now read and write ZCOMPRESSED system files, which
479 compress data much more effectively than older "compressed"
480 files. (The older format is still supported.)
482 - PSPP can now decrypt encrypted system files, using the new
483 pspp-convert utility. The encrypted system file format is
484 unacceptably insecure, so to discourage its use PSPP and PSPPIRE
485 do not directly read or write this format.
487 * Missing values for long string variables are now read from and
488 written to system files in an SPSS-compatible fashion.
490 (Earlier versions of PSPP that supported missing values for long
491 string variables wrote them to system files in an SPSS-incompatible
492 way. To fix the problem, read the system file with this version of
493 PSPP and then save a new copy of it.)
495 * pspp-convert, a new standalone utility for converting SPSS system
496 and portable files to other formats, is now included. The initial
497 version supports comma-separated value files as output format.
498 pspp-convert can also decrypt encrypted system files.
502 - zlib is now a required dependency. (Previously it was optional.)
504 Changes from 0.8.0 to 0.8.1:
510 * Changes to existing commands:
512 - CROSSTABS: The requirement that one expected count must be less than five
513 before Fishers Exact Test will be reported has been removed.
515 * PSPPIRE graphical user interface improvements:
517 - A new set of icons has been contributed.
519 - Syntax windows now parse syntax in "auto" mode, which in practice
520 should mean that both "batch" and "interactive" syntax now works,
521 instead of just "interactive" syntax.
523 - The variable pane of data windows now include a Role column.
527 - System files written by IBM SPSS 21 are now read without warnings.
529 - System files written by "VOXCO INTERVIEWER 4.3" are now read
532 - PSPPIRE should now more gracefully handle syntax files that contain
535 Changes from 0.6.2 to 0.8.0:
541 - DATAFILE ATTRIBUTES
548 - LOGISTIC REGRESSION
552 - PRESERVE and RESTORE
556 - SAVE TRANSLATE to CSV and tab-delimited files
558 - VARIABLE ATTRIBUTES
560 * Changes to existing commands:
562 - AUTORECODE has a new GROUP subcommand.
564 - CROSSTABS has been re-implemented to fix numerous bugs.
566 - EXAMINE: /MISSING=LISTWISE is now the default.
568 - DO REPEAT command has been reimplemented. Now, when DO REPEAT
569 contains an INCLUDE or INSERT command, substitutions are not
570 applied to the included file.
572 - FILE HANDLE has a new ENDS subcommand to select CR or CRLF new-lines.
574 - HOST has been updated to use more modern syntax.
576 - Most commands that work with data files now support a new
579 - MISSING VALUES can now assign missing values to long string
582 - ONEWAY: the POSTHOC subcommand is now implemented.
584 - The following new subcommands to NPAR TESTS have been implemented:
585 COCHRAN, FRIEDMAN, JONCKHEERE-TERPSTRA, KENDALL, KRUSKAL-WALLIS, MANN-WHITNEY,
586 MCNEMAR, SIGN, WILCOXON, and RUNS
588 - SET and SHOW no longer have ENDCMD, NULLINE, PROMPT, CPROMPT, and
589 DPROMPT subcommands. The defaults are now fixed values.
591 - SHOW now has a JOURNAL subcommand, to show the location of the
594 - VALUE LABELS can now assign value labels to long string
597 * Other language changes:
599 - The new DATASET commands replace the "scratch file" PSPP
600 extension, which is no longer supported.
602 - Strings may now include arbitrary Unicode code points specified
603 in hexadecimal, using the syntax U'hhhh'. For example, Unicode
604 code point U+1D11E, the musical G clef character, may be
605 expressed as U'1D11E'.
607 See the "Tokens" section in the PSPP manual for more information.
609 - In previous versions of PSPP, in a string expressed in
610 hexadecimal with X'hh' syntax, the hexadecimal digits expressed
611 bytes in the locale encoding. In this version of PSPP, X'hh'
612 syntax always expresses bytes in UTF-8 encoding.
614 See the "Tokens" section in the PSPP manual for more information.
616 * PSPPIRE graphical user interface improvements:
618 - Added support for non-ASCII characters in strings, labels and
621 - A "Split Window" function is available, which makes it easier to
622 see different parts of a large data file.
624 - Data files can now be opened by specifing their name as the first
625 argument. This means that on a properly configured desktop, double
626 clicking on an icon will open the file.
628 - Foreign formats, such as Gnumeric, OpenDocument and CSV can be imported
629 via using an "intelligent" application assistant dialog.
633 - The new "cairo" output driver supports output in PostScript, PDF,
634 and SVG formats. Its functionality is a superset of that of the
635 "postscript" driver, which has been removed. You must have Cairo
636 and Pango installed to build the "cairo" driver.
638 - Charts are now produced with Cairo and Pango, instead of libplot.
639 Without them, the new graphing features will not work. If you do
640 not have Cairo and Pango installed, you must run `configure' with
643 - The plain text output driver now properly supports multibyte UTF-8
644 characters, including double-width characters and combining
647 - Output to OpenDocument format is now supported.
649 - The HTML output is much improved.
651 * The "pspp" program has a new option --batch (or -b) that selects
652 "batch" syntax mode. In previous versions of PSPP this syntax mode
653 was the default. Now a new "auto" syntax mode is the default. In
654 "auto" mode, PSPP interprets most syntax files correctly regardless
655 of their intended syntax mode.
657 See the "Syntax Variants" section in the PSPP manual for more
660 * The "pspp" program has a new option --syntax-encoding that
661 specifies the encoding for syntax files listed on the command line,
662 as well as the default encoding for syntax files included with
663 INCLUDE or INSERT. The default is to accept the system locale
664 encoding, UTF-8, UTF-16, or UTF-32, automatically detecting which
665 one the system file uses.
667 See the documentation for the INSERT command in the PSPP manual for
670 * Text data files that PRINT and WRITE creates now use the system
671 native line ends by default (CRLF on Windows, LF only elsewhere).
672 Use the new ENDS subcommand on FILE HANDLE to override the default.
674 * A new Perl module allows Perl programs to read and write PSPP
677 * A tutorial chapter has been added to the user manual.
679 Changes from 0.6.1 to 0.6.2:
683 - Dutch, thanks to Harry Thijssen.
685 - Brazilian Portuguese, thanks to Michel Boaventura.
687 Thanks for translations are also due to the coordinators at
688 translationproject.org.
690 * Statistical bug fixes:
692 - REGRESSION: Report correct standard error of the estimate (bug
695 - T-TEST: Report correct significance of paired sample T-test in
696 the common case (bug #26936) and corner cases. Thanks to Mike
697 Griffiths and Matej Cepl for reporting these bugs.
699 * Build fixes and changes:
701 - Fix build with GTK+ 2.17.4 and later.
703 - Make running "make" after running "configure" with different
704 settings reliably rebuild version.c.
706 - Cygwin and MinGW build fixes.
708 - Fixes for building with recent gnulib.
710 - The Makefile now honors two new variables, PSPP_LDFLAGS and
711 PSPPIRE_LDFLAGS, that affect linking of the PSPP and PSPPIRE
712 binaries, respectively. This makes building easier for some
715 - Fixes for "configure --enable-relocatable" (bug #25508).
717 * Data file bug fixes and changes:
719 - Fix reading text data files that contain a mix of white space
720 and commas. Now "a ,b" is treated as two fields containing "a"
721 and "b"; previously it was treated as three, with an empty field
724 - Fix writing corrupted .sav files on Windows.
726 - Fix writing variable labels longer than 252 bytes to save files.
727 Thanks to Robert Westlund for reporting this bug.
729 - Fix writing corrupted .por files (bug #26034).
731 - Fix reading .por files whose initial lines are not padded out
732 with spaces as expected.
734 - PSPP will no longer issue warnings about some .sav file records
735 or values that it does not understand. These warnings were
736 harmless, but needlessly alarmed some users.
738 - Fix crash reading empty string fields from PostgreSQL databases.
740 * Bug fixes that affect PSPP and PSPPIRE:
742 - Users may now control precision of output statistics. Instead
743 of hard coding the width and decimals of output numbers, respect
744 the default format in most instances. Counts are now normally
745 displayed with the format of the weight variable, if any.
747 - Fix crash when an INSERT command specifies the name of a file
748 that does not exist (bug #24569).
750 - Fix crash when CROSSTABS specifies a long-string variable (bugs
753 - Fix crash drawing pie charts with many segments.
755 - Fix crash when NUMERIC specifies an invalid format.
757 * PSPPIRE bug fixes and changes:
759 - On Windows, write the output file to the user's home directory
760 instead of the current directory, to better match user
763 - Some data editor fixes.
767 - Fix typo in BINOMIAL section of user manual (bug #25892).
769 Changes from 0.6.0 to 0.6.1:
771 * Statistical bug fixes:
773 - Report correct standardized regression coefficients in linear
774 regression output (bug #23567).
776 * Bug fixes that affect PSPP and PSPPIRE:
778 - Avoid crash with pie charts (bug #24014).
780 - Don't append % to count totals (bug #24003).
782 - Don't crash on bad input (bug #24031).
784 - Don't crash if "end data." is not left aligned (bug #24115).
786 - Change default workspace value to 64 MB, to avoid unnecessary
787 disk accesses on modern machines.
791 - Add ".sav" or ".por" suffix to filename when saving with Save_As
794 - Make it possible to reopen the output window on Windows (bug
797 - A POSIX regular expression library is now included and used
798 automatically if the host does not have one or has one that is
801 * Build fixes and changes:
803 - Work around bug in GSL that prevented build with recent GCC
804 versions without manually adding -fgnu89-inline to CFLAGS.
806 - Also warn about missing prerequisites as we encounter them (bug
809 - Distribute necessary files to allow users working from the
810 distributed tarball to configure with --enable-gui-tools.
812 - Append $(EXEEXT_FOR_BUILD) to output file name when building
813 q2c, fixing build problems on Windows.
815 - GSL 1.8 or later is now required.
817 - Build errors with --enable-relocatable were fixed.
819 * The German translations were removed, since native German speakers
820 found them too poor to be useful.
822 Changes from 0.4.0 to 0.6.0:
824 * The PSPP license is now version 3 or later of the GNU General
825 Public License. Previously, it was version 2 or later.
827 * PSPP now has a graphical interface, called PSPPIRE. This
828 interface allows you to enter data and variable definitions
829 interactively. Commands may be executed in syntax form, or by
830 using the interactive dialog boxes available from the dropdown
833 * A few sample syntax files are now included in the `examples'
836 * Numerous major and minor bugs have been fixed.
840 * The INSTALL file now reflects the details of how to install
841 PSPP. It is a tailored version of the generic installation
842 instructions, instead of a verbatim copy.
844 * iconv, which is ordinarily installed as part of a Unix-like
845 system, is now required. If you don't have it already, you can
846 install GNU libiconv (http://www.gnu.org/software/libiconv/).
848 * libxml2 and zlib are new optional dependencies. They are
849 required to use PSPP's support for reading Gnumeric files.
851 Statistical procedure changes:
853 * REGRESSION is a new procedure for fitting linear models to data
854 via least-squares estimation.
856 * NPAR TESTS is a new procedure for non-parametric tests. In this
857 release, it supports binomial and chi-square tests.
859 * RANK is a new procedure to rank variables. It supports numerous
862 * FREQUENCIES can now output histograms and pie charts. These
863 features were present in earlier releases, but not documented.
865 User interface changes:
867 * In many situations where PSPP once terminated with a fatal
868 error, PSPP now recovers and continues execution.
870 * PSPP is now able to start up and run even if it cannot find its
873 * Journaling of interactive commands to a disk file is now
874 implemented. By default, journaling is enabled, to a file named
875 `pspp.jnl' in the current directory. SET JOURNAL may be used to
878 * The use of `+' between syntax file names on the command line to
879 prevent the dictionary from being cleared between their
880 executions is no longer supported. All syntax files are now
881 executed as if `+' had been specified.
883 * The -d/--define and -u/--undef command line options are no
884 longer supported. Instead, use /usr/bin/env or shell primitives
885 to define or clear environment variables before invoking PSPP.
887 * If a syntax file named named `rc' is found in a configuration
888 directory (such as $HOME/.pspp), it is executed before any
889 syntax file specified on the command line. The -r or
890 --no-statrc command line option may be used to disable this
895 * Output configuration options have changed. Please refer to the
896 manual for a full description of the available options.
898 In consequence, you will need to reinstall your "devices" file.
899 "make install" will do this for you.
901 * Most error messages are now written to PSPP output files by
902 default. SET ERROR can be used to disable this behavior.
904 * When invoked interactively, PSPP now by default produces output
905 on the terminal, piping it through the "more" program.
906 Previously, by default output was written only to file
907 pspp.list. On most terminals, the page length used for output
908 automatically adapts to the terminal size, even if the terminal
913 - This driver now supports charts in output. Charts are written
914 as separate files that the main output file refers to. By
915 default, charts are written in PNG format to files named
916 pspp-1.png, pspp-2.png, and so on.
918 - Configurations are provided that use VT100 (and xterm)
919 line-drawing characters in tables. The option "-o list-vt100"
920 requests use of this device for output to pspp.list.
924 - The default paper size is now determined using the PAPERSIZE
925 environment variable, or the LC_PAPER locale category on
926 systems that support it. If these are not set, the default is
927 now A4, instead of US letter. To make US letter the default,
928 set PAPERSIZE to "letter" in your environment.
930 - Font metrics are now read from AFM files, instead of
931 Groff-format metrics files. PostScript fonts can now be
934 In consequence, you will need to install an AFM file for each
935 font used in PostScript output. "make install" will install
936 AFM files for the standard PostScript fonts, including the
937 ones that the PostScript driver uses by default.
939 - Standard paper sizes no longer need to be specified through a
940 configuration file. The "papersize" configuration file is no
941 longer needed, or supported.
943 - The PostScript prologue is no longer obtained from the
944 "ps-prologue" configuration file. This configuration file is
945 no longer needed, or supported.
949 - The HTML prologue is no longer obtained from the
950 "html-prologue" configuration file. This configuration file
951 is no longer needed, or supported.
953 Command language changes:
955 * The following commands are new:
957 - GET DATA, which currently supports reading Gnumeric files and
958 text data files. It will be extended later to read other
959 types of foreign data.
961 - CD, to change the current directory.
963 - INSERT, to execute a syntax file.
965 - DELETE VARIABLES, to remove variables from the active file
968 - ADD DOCUMENT, to add text to active file documents.
970 - CLOSE FILE HANDLE (a PSPP extension; see below).
972 - XEXPORT, a PSPP extension that is a transformation equivalent
975 * The following functions for transformation expressions are new:
977 - DATEDIFF, for computing the difference of two dates.
979 - DATESUM, for advancing a date by a specified duration.
981 - VALUELABEL, to obtain the value label for a value.
983 * PSPP now supports very long string variables (over 255 bytes
986 * MATCH FILES now supports the FIRST and LAST subcommands.
988 * Previous versions of PSPP prohibited using commands to both read and
989 write a single file at the same time. Now, PSPP allows this, and
990 the new version of the file atomically replaces the old version.
992 * The following commands are no longer available. They will be
993 re-implemented in a later release:
995 - CLEAR TRANSFORMATIONS
1001 * The PROCESS IF command, which was deprecated, has been removed.
1002 You may replace any usage of it by SELECT IF following
1003 TEMPORARY, which has the same effect.
1005 * The output format for variables created by VECTOR may now be
1006 specified as part of the VECTOR syntax.
1008 "Scratch files", a new PSPP extension:
1010 A scratch file, like a system file, consists of a dictionary and
1011 any number of cases. Small scratch files are stored in memory;
1012 one that grows too large is written to disk. By default, any file
1013 handle whose name begins with # is assumed to refer to a scratch
1016 Scratch files can be used just about anywhere a system or portable
1017 file can be used. Also, portable files are now allowed in most
1018 places that system files were allowed in previous PSPP version.
1020 A new CLOSE FILE HANDLE command allows the storage associated with
1021 scratch files to be freed. It also allows file handles to be
1022 reassigned to new files.
1024 For more information on scratch files, refer to the "File Handles"
1025 section in the PSPP manual. For specifics of what commands now
1026 allow what kinds of files to be specified, refer to the
1027 documentation on those particular commands.
1029 Data access changes:
1031 * Binary formats and IBM/360 formats, including ASCII/EBCDIC
1032 translation, are now supported. Use FILE HANDLE to specify the
1033 format of these files.
1035 * Little-endian, big-endian, and VAX-endian formats are now
1036 supported for integer binary formats when reading and writing
1037 data files. The new RIB and WIB subcommands on the SET command
1038 control endianness of integer data. The default is the host's
1041 * IEEE 754, VAX, and IBM hexadecimal formats are now supported for
1042 floating point binary formats when reading and writing data
1043 files. The new RRB and WRB subcommands on the SET command
1044 control the floating point format. The default is the host's
1045 native floating point format.
1047 * DATA LIST now supports the SKIP subcommand, to skip records at
1048 the beginning of a file. For compatibility, DATA LIST now
1049 treats N format as F format for FREE and LIST format input.
1051 * The SAVE and XSAVE commands now support the UNSELECTED,
1052 PERMISSIONS, NAMES, and MAP subcommands.
1054 * The EXPORT command has been re-implemented to obtain better
1055 results. Support for the UNSELECTED, DIGITS, and TYPE
1056 subcommands has been added.
1058 * For compatibility, PRINT now inserts a space at the beginning of
1059 every output line, even lines that would otherwise be blank,
1060 when OUTFILE is specified. (The behavior of WRITE is
1063 * For compatibility, PRINT EJECT now inserts the digit `1' at the
1064 beginning of each line that should begin a new page.
1066 * For compatibility, WRITE now outputs the system-missing value as
1067 a field filled with spaces. Binary formats are an exception.
1068 (The behavior of PRINT is unchanged.)
1072 * Input and output format descriptions have been rewritten. They
1073 now precisely describe what is accepted on input and written on
1076 * The descriptions of the PSPP system and portable file formats
1077 have been extensively revised and improved.
1079 For developers, the build system now requires Autoconf 2.60 and
1082 Changes from 0.3.0 to 0.4.0:
1084 Changes in build dependencies:
1086 * The GNU Scientific Library (libgsl), version 1.6 or later, is
1089 * libplot from GNU plotutils is optional. Without it, the new
1090 graphing features will not work. If you do not have it
1091 installed, you must run `configure' with --without-libplot.
1093 * libgmp2 is no longer a dependency.
1095 Newly implemented commands and statistical features:
1097 * EXAMINE, including its graphing features.
1099 * FREQUENCIES now supports percentiles.
1107 * SORT CASES now sorts stably, that is, two cases with equal sort
1108 criteria will be in the same relative order before and after the
1111 * T-TEST (re-written).
1113 * DATE and USE. These commands are parsed but otherwise ignored,
1114 to enhance compatibility with certain command files that invoke
1117 * VARIABLE WIDTH, VARIABLE ALIGNMENT, and VARIABLE LEVEL. These
1118 currently have no effect on PSPP output, but their values are
1119 written to and read from system files and thus may affect
1120 third-party software.
1122 * SET EPOCH implemented.
1124 * DATA LIST FREE and DATA LIST LIST now support arbitrary field
1127 * FILE HANDLE now supports custom tab widths.
1129 Long variable names (and other identifiers) are now supported. Up
1130 to the first 64 bytes of each identifier is significant. PSPP now
1131 reads and writes system files compatible with SPSS version 12.
1133 New --algorithm and --syntax command line options allow
1134 SPSS-compatible or enhanced modes to be selected.
1136 Support for transformation expressions has been rewritten and
1137 significantly improved. Refer to the manual for details.
1139 Calculation of moments (mean, standard deviation, kurtosis,
1140 skewness) has been rewritten and should now be more accurate. In
1141 --algorithm=enhanced mode moments may be more accurate than SPSS in
1144 Numerous bugs have been fixed, too many to mention here. Many new
1145 tests have been added, leading to the discovery and fixing of many
1148 The ASCII output driver can now squeeze multiple blank lines into
1151 Much of the code has been rewritten and refactored. It is now much
1154 The FILE TYPE and REPEATING DATA commands have been disabled for
1155 this release because their implementations were deemed too buggy to
1156 be useful. They will be fixed and replaced in a future release.
1158 New pspp-mode for Emacs (in pspp-mode.el).
1160 Added rudimentary command-line completion for interactive input.
1162 lib/julcal and lib/dcdflib are no longer used, so they have been
1165 For developers, the build system now requires Autoconf 2.58 and
1166 Automake 1.7. The included gettext has been updated to version
1169 Some reports state that Texinfo 4.8, the latest version, may be
1170 necessary to successfully format the documentation on some systems.
1172 Version 0.3.0 changes since 0.2.3:
1176 * Using alphanumeric variables in functions under AGGREGATE
1179 * Under certain circumstances, the final case would be omitted
1180 from the results of an AGGREGATE operation. Fixed.
1182 * Undefined behavior was invoked by referencing a freed pointer
1183 under certain circumstances. Fixed.
1185 * A wrong record size was displayed when paging the active file to
1188 * Not having enough temporary space for sorting caused a core
1191 * Syntax errors in function descriptions on AGGREGATE caused core
1194 * A null pointer was dereferenced, causing a core dump, when
1195 PERCENTILES was specified on FREQUENCIES. This fixes the
1196 problem, but PSPP still doesn't calculate percentiles.
1198 * SORT always sorted in ascending order. Fixed.
1200 * Some minor memory leaks in the expression parser were removed.
1202 * Many assertions fixed for strict ANSI C compliance.
1206 * SET ECHO ON now implemented, but turned off by default.
1208 * PRINT specifier supported on END REPEAT.
1212 * System libgmp2 library is used if installed instead of
1213 unconditionally using the included libgmp2 subset.
1215 * Extensive code cleanup, which continues.
1217 * Added CORRELATIONS command parser, but not implemented.
1219 Version 0.2.3 changes since 0.2.2:
1223 * SPLIT FILE with a string variable caused a core dump. Fixed.
1225 * Nested INCLUDEs didn't work. Fixed.
1227 * The MATCH FILES procedure set the values of variables not present
1228 to 0. It should have been SYSMIS. This is now fixed.
1230 * The REMARK command was too aggressive about skipping lines. It
1231 didn't like being the last command in a file.
1233 * Comment parsing wasn't consistent with the rest of the code in its
1234 idea of where one command ends and another starts. This meant
1235 that sometimes commands would be mysteriously ignored. Thanks to
1236 Dr. Dirk Melcher <BZN-mdksh@t-online.de> for reporting this bug.
1238 * The TABLE subcommand on MATCH FILES worked only erratically at
1239 best. This fixes it. Thanks to Dr. Dirk Melcher
1240 <BZN-mdksh@t-online.de> for reporting this bug.
1242 * VARIABLE LABELS rejected a slash before the first variable
1243 specification, contradicting the documentation. Thanks to Walter
1244 M. Gray <graywm@northernc.on.ca> for reporting this bug.
1246 * Because of an incorrect optimization in memory allocation,
1247 CROSSTABS sometimes segfaulted when asked to output multiple
1248 tables. Thanks to Walter M. Gray <graywm@northernc.on.ca> for
1251 * CROSSTABS didn't display value labels for column and row
1252 variables. Thanks to Walter M. Gray <graywm@northernc.on.ca> for
1255 * WRITE didn't write line ends. Fixed. Thanks to Dr. Dirk Melcher
1256 <BZN-mdksh@t-online.de> for reporting this bug.
1258 * The TABLE subcommand on MATCH FILES worked only erratically at
1259 best. This fixes it. Thanks to Dr. Dirk Melcher
1260 <BZN-mdksh@t-online.de> for reporting this bug.
1262 * VARIABLE LABELS rejected a slash before the first variable
1263 specification, contradicting the documentation. Thanks to Walter
1264 M. Gray <graywm@northernc.on.ca> for reporting this bug.
1266 * Because of an incorrect optimization in memory allocation,
1267 CROSSTABS sometimes segfaulted when asked to output multiple
1268 tables. Thanks to Walter M. Gray <graywm@northernc.on.ca> for
1271 * CROSSTABS didn't display value labels for column and row
1272 variables. Thanks to Walter M. Gray <graywm@northernc.on.ca> for
1275 * WRITE didn't write line ends. Fixed. Thanks to Dr. Dirk Melcher
1276 <BZN-mdksh@t-online.de> for reporting this bug.
1278 * MATCH FILES corrupted memory and dumped core on some syntax
1281 * MATCH FILES should set numeric values not available to the
1282 system-missing value, not to 0. Thanks to Dr. Dirk Melcher
1283 <BZN-mdksh@t-online.de> for reporting this bug.
1285 * KEEP didn't work properly on the SAVE procedure. Fixed. Thanks
1286 to Ralf Geschke <ralf@kuerbis.org> for reporting this bug.
1290 * Some systems didn't like the way open_file was coded. Thanks to
1291 Hankin <hankin@rogue.consultco.com> for pointing this out.
1293 * The SAVE procedure didn't save long string variables properly.
1294 Fixed by this patch. Thanks to Hankin
1295 <hankin@rogue.consultco.com> for this patch.
1297 * Minor documentation fixes for MATCH FILES.
1299 Version 0.2.2 changes since 0.2.1:
1303 * Fix behavior of PRINT SPACE for negative arguments.
1305 * Fix reading some unusual system files.
1307 * Fix LIST problems with very long variables. Thanks to Hankin
1308 <hankin@dunno.com> for this bug report.
1310 * Fix problems with some string format specifiers.
1312 * Fix use of $CASENUM in expressions. Thanks to Dirk Melcher
1313 <BZN-mdksh@t-online.de> for reporting this bug.
1315 * Additional DATA LIST FREE and DATA LIST LIST fixes. Thanks to
1316 Hankin <hankin@dunno.com> again on this one.
1318 * Sometimes you may encounter a PSPP script that has to be
1319 interpreted in interactive mode. Now you can use the -i flag to
1322 * Warnings for egcs 1.1.1 cleaned up. (However you'll get lots of
1323 `unused variable' warnings under gcc 2.7.2.3, fixing this will
1328 * The files in gmp need the internationalization directory in
1329 their include path. Thanks to OKUJI Yoshinori
1330 <okuji@kuicr.kyoto-u.ac.jp> for pointing this out.
1332 Version 0.2.1 changes since 0.2.0:
1336 * Remember to include examples/ directory in distribution :-)
1338 * Fixed gmp compile problems for some non-i386 architectures.
1339 Thanks to Hans Olav Eggestad <olav@jordforsk.nlh.no> and others
1342 * DATA LIST FREE and DATA LIST LIST parsing of input files is now
1343 matches the documented behavior exactly, and error messages are
1344 more helpful. Thanks to Mark H. Wood <mwood@IUPUI.Edu>.
1346 Version 0.2.0 changes since 0.1.0:
1348 Procedures now implemented:
1349 * CROSSTABS. Please see documentation for caveats.
1351 Transformations and utilities now implemented:
1354 * CLEAR TRANSFORMATIONS
1355 * DISPLAY (all subcommands).
1366 Support for input and output through pipes: "|command" and
1367 "command|" filenames; support for special filenames "-", "stdin",
1370 New command-line features:
1371 * New option --testing-mode: Invoke heuristics to assist testing.
1372 * New option --safer, -s: Don't allow certain unsafe operations.
1373 * New option --command=CMD, -c CMD: Perform literal command CMD.
1374 * rc file ~/.pspp/rc is executed before any other files.
1375 * Now multiple syntax files can be specified.
1377 Operator LAG is now implemented.
1379 Added missing FILE subcommand to REREAD.
1381 Table output manager completely rewritten.
1383 Device configuration file syntax changed. You will need to
1384 reinstall your `devices' file.
1386 New output driver for HTML.
1388 PostScript driver and prologue simplified.
1390 Many bugs fixed. General source-code cleanup.
1392 Added Texinfo documentation for:
1393 * PSPP system file format
1394 * PSPP portable file format
1395 * How to write input for q2c parser generator
1398 PSPP language is now fully documented. Please report any
1399 inaccuracies or omissions in the documentation.
1401 Changes for version 0.1.0:
1403 First public release. For changes from unreleased development
1404 versions, please see ONEWS.
1406 ----------------------------------------------------------------------
1407 Copyright information:
1409 Permission is granted to anyone to make or distribute verbatim
1410 copies of this document as received, in any medium, provided that
1411 the copyright notice and this permission notice are preserved, thus
1412 giving the recipient permission to redistribute in turn.
1414 Permission is granted to distribute modified versions of this
1415 document, or of portions of it, under the above conditions,
1416 provided also that they carry prominent notices stating who last
1420 version-control: never