HI. A quick update. I have saved the data set as text file and imported into PSPP (using GUI). Done a frequency and now it works.
I guess that inserting data using the GUI could cause some odd behaviour. Regards, Michele On Wed, Apr 24, 2019 at 9:38 PM Michele Mor <m.mor.m...@gmail.com> wrote: > Hi. > Apologies for the delay, but been very busy. > On my Fedora 29: > The pspp --version: > pspp (GNU PSPP) 1.2.0 > Copyright (C) 2018 Free Software Foundation, Inc. > > When I have executed the code provided by John everything worked as > expected. > > I guess that the problem is to be found in the data itself. > I have used the GUI to insert data, after creating variables using the > syntax. > For example: > Numeric surveytype (F8.0). > Variable label surveytype 'Paper or online survey'. > Value labels surveytype > 1 'Paper' > 2 'Online'. > Execute. > Once the variable was created, I manually inserted 1 or 2. > > I will try to create a new data set using the syntax command or importing > data from text file and see what happens. > Obviously I'm open to suggestions. > > Thanks, > Michele > > > On Fri, Apr 19, 2019 at 3:22 PM John Darrington < > j...@darrington.wattle.id.au> wrote: > >> It would be helpful if you would state precisely *which* version you are >> using. Simply saying "the latest version" is not helpful. Different >> operating systems package different versions at different times so each >> has a different idea of what the "latest" is. Use "pspp --version" to >> find out which version you're actually using. >> >> Also, although you pasted the output from the frequencies command, you >> did not share with us the input that you used, so it's hard for us to >> say why it didn't work as you expected. >> >> Normally the "count" (ie: the number of cases with the given value) >> appears in the column labeled "Frequency". In the output you posted >> all frequencies (counts) are zero. So if this is not what you expected, >> then perhaps there is something wrong with the way you entered the data. >> >> I'm using pspp version 1.2.0, and the syntax below seems to work >> fine for me. I suggest that you start from there and see how you go. >> >> PS: Please read chapter 20 of the manual for tips on providing useful >> bug reports. >> >> data list notable list /x *. >> begin data. >> 1 >> 1 >> 1 >> 2 >> 2 >> 2 >> 3 >> 3 >> 5 >> 5 >> 5 >> 5 >> 5 >> 5 >> 5 >> end data. >> >> frequencies /variables=x /format=table. >> >> >> >> >> >> On Fri, Apr 19, 2019 at 12:20:22PM +0100, Michele Mor wrote: >> >> I have installed the latest release from sourceforge on windows and >> the >> latest package using dfn in Fedora 29. >> Both had the same issue. >> I'm going away for few days, but I'll try to install a different >> version in >> windows when I'm back. >> I am a bit surprised that such a problem could creep up in a release >> version, since it's something very basic and that everyone does. >> >>
_______________________________________________ Pspp-users mailing list Pspp-users@gnu.org https://lists.gnu.org/mailman/listinfo/pspp-users