[bug37999 11/11] RANK: Add support for temporary transformations.

2013-01-31 Thread Ben Pfaff
Bug #37999. Reported by Zoltan Fabian. --- src/data/dataset.c | 35 +- src/data/dataset.h |3 ++- src/data/dictionary.c| 26 +--- src/data/dictionary.h|5 +++- src/language/stats/rank.c| 19 +-

[bug37999 03/11] transformations: Relax the rules for transformation finalizing.

2013-01-31 Thread Ben Pfaff
The trns_chain data structure has a barely useful concept called "finalization". In practice this is used to make sure that control structures (e.g. DO IF) that are opened get closed (e.g. END IF). There are currently some restrictions on finalizing: namely, transformations can't

[patch #6086] Transformations in the GUI

2007-07-25 Thread John Darrington
Update of patch #6086 (project pspp): Status:Works For Me => Done Assigned to: blp => None Open/Closed:Open => Closed ___

[patch #6086] Transformations in the GUI

2007-07-25 Thread Ben Pfaff
Update of patch #6086 (project pspp): Status: Ready For Test/Review => Works For Me ___ Follow-up Comment #1: Looks good. ___ Reply to this item at:

[patch #6086] Transformations in the GUI

2007-07-11 Thread John Darrington
URL: <http://savannah.gnu.org/patch/?6086> Summary: Transformations in the GUI Project: PSPP Submitted by: jmd Submitted on: Wednesday 07/11/07 at 15:21 Category: None Item Group

Re: CLEAR TRANSFORMATIONS ?

2007-07-05 Thread Ben Pfaff
t the most powerfull uses of transformations are > inaccessible. I'm planning to make the gui more in line with Spss: > > When a transformation is active, it displays a "Transformation > Pending" sign in the status bar, and enables the "Run Pending > Transformations&qu

Re: CLEAR TRANSFORMATIONS ?

2007-07-05 Thread John Darrington
in what way did you make SPSS run that syntax? There is a distinction between "interactive" and "batch" environments made in the manual. I see the documented behavior on a very old version of SPSS here: the variable is dropped in interactive mode, CL

Re: CLEAR TRANSFORMATIONS ?

2007-07-05 Thread Ben Pfaff
of the dictionary that corresponds to the active file. > > We'd need to do so, and then restore it for CLEAR > > TRANSFORMATIONS. > > > > Spss doesn't do this. So neither should we (at least not by default). > > I th

Re: CLEAR TRANSFORMATIONS ?

2007-07-02 Thread John Darrington
py of the dictionary that corresponds to the active file. > We'd need to do so, and then restore it for CLEAR > TRANSFORMATIONS. > > Spss doesn't do this. So neither should we (at least not by default). I think that SPSS does do this. The

Re: CLEAR TRANSFORMATIONS ?

2007-07-02 Thread Ben Pfaff
so, and then restore it for CLEAR > TRANSFORMATIONS. > > Spss doesn't do this. So neither should we (at least not by default). I think that SPSS does do this. The SPSS 13, 14, and 15 manuals all have an identical example that shows a data file being read, some transformation

Re: CLEAR TRANSFORMATIONS ?

2007-07-02 Thread John Darrington
On Sat, Jun 30, 2007 at 07:55:27AM -0700, Ben Pfaff wrote: There are a few subtleties I think. First, I don't think we save a copy of the dictionary that corresponds to the active file. We'd need to do so, and then restore it for CLEAR TRANSFORMATIONS. Spss doesn

Re: CLEAR TRANSFORMATIONS ?

2007-07-01 Thread John Darrington
rrently don't implement the CLEAR TRANSFORMATIONS command. > > > Maybe I'd better leave it alone for now. I had the same conclusion each time I've looked at it too. Too much trouble, too little benefit. Thinking about it further, if the GUI'

Re: CLEAR TRANSFORMATIONS ?

2007-06-30 Thread Ben Pfaff
John Darrington <[EMAIL PROTECTED]> writes: > On Sat, Jun 30, 2007 at 07:55:27AM -0700, Ben Pfaff wrote: > John Darrington <[EMAIL PROTECTED]> writes: > > > We currently don't implement the CLEAR TRANSFORMATIONS command. > > >

Re: CLEAR TRANSFORMATIONS ?

2007-06-30 Thread John Darrington
On Sat, Jun 30, 2007 at 07:55:27AM -0700, Ben Pfaff wrote: John Darrington <[EMAIL PROTECTED]> writes: > We currently don't implement the CLEAR TRANSFORMATIONS command. > > To me it would appear trivial to do so. Is there subtle thing that > I

Re: CLEAR TRANSFORMATIONS ?

2007-06-30 Thread Ben Pfaff
John Darrington <[EMAIL PROTECTED]> writes: > We currently don't implement the CLEAR TRANSFORMATIONS command. > > To me it would appear trivial to do so. Is there subtle thing that > I've overlooked? If not I'll go ahead and implement it. There are a few su

CLEAR TRANSFORMATIONS ?

2007-06-30 Thread John Darrington
We currently don't implement the CLEAR TRANSFORMATIONS command. To me it would appear trivial to do so. Is there subtle thing that I've overlooked? If not I'll go ahead and implement it. J' -- PGP Public key ID: 1024D/2DE827B3 fingerprint = 8797 A26D 0854 2EAB 0285 A290

transformations

2006-04-19 Thread Jason Stover
I have another question about transformations. Here is the syntax: data list list / v0 to v2. begin data 0.65377128 7.735648 -23.97588 -0.13087553 6.142625 -19.63854 0.34880368 7.651430 -25.26557 0.69249021 6.125125 -16.57090 -0.07368178 8.245789 -25.80001 -0.34404919 6.031540 -17.56743

Re: Implicit GUI transformations

2005-11-21 Thread Ben Pfaff
just appended to the list of operations to perform the next time the data is read (e.g. COMPUTE). A procedure reads the data, performs the transformations, and typically does some sort of data analysis whose results are displayed for the user (e.g. EXAMINE, REGRESSION). A few commands are both tran

Implicit GUI transformations [was: Re: data_out return status]

2005-11-20 Thread John Darrington
On Sun, Nov 20, 2005 at 11:12:17AM -0800, Ben Pfaff wrote: I'm nervous about this as a transformation. One reason is that changing a variable to a "long string" type could require moving it around in the case array. That'd be okay if transformations before