Re: getting case count via PSPP::Perl

2011-05-23 Thread Ben Pfaff
Thank you. Rob Messer writes: > Ok, I have done that (although I didn't see a category called > "wishlist" so I just put as "other", since it is really a > feature request and not a bug). Thanks. > > On May 23, 2011, at 10:51 AM, Ben Pfaff wrote: > >> It would be ideal if you would file this as

Re: getting case count via PSPP::Perl

2011-05-23 Thread Ben Pfaff
It would be ideal if you would file this as a "wishlist" bug in the tracker at https://savannah.gnu.org/bugs/?group=pspp. That way the request will not get lost. Rob Messer writes: > John, > > Ok, that is good to know. So I guess consider this a feature > request to add that to some future rel

Re: getting case count via PSPP::Perl

2011-05-23 Thread Rob Messer
Ok, I have done that (although I didn't see a category called "wishlist" so I just put as "other", since it is really a feature request and not a bug). Thanks. On May 23, 2011, at 10:51 AM, Ben Pfaff wrote: > It would be ideal if you would file this as a "wishlist" bug in > the tracker at http

Re: getting case count via PSPP::Perl

2011-05-23 Thread Rob Messer
John, Ok, that is good to know. So I guess consider this a feature request to add that to some future release. If the method sometimes returns undef because the file header doesn't have the info that then is reasonable enough, but at least we could show progress in most cases. Thank you, Ro

Re: getting case count via PSPP::Perl

2011-05-22 Thread John Darrington
It should be very straightforward. Most .sav files contain a header field indicating the number of cases. However, occasionally we've encountered files which don't have this field. So the perl program would have to be prepared to handle this case. J' On Fri, May 20, 2011 at 11:16:26AM -0700,

getting case count via PSPP::Perl

2011-05-20 Thread Rob Messer
We have been using the PSPP::Perl interface to read data from .sav files into our database, and it works very well for that purpose. Sometimes the files we read are rather large, and so it takes some time to load the data. We like to be able to show progress to the user who is loading their da