Another way to translate .sav to .csv is to run the "pspp-convert" utility, without even starting the main PSPP executable.
On Tue, Oct 16, 2018 at 07:18:35PM +0200, John Darrington wrote: > Yes. > > Check out the SET WORKSPACE command. > > J' > > On Tue, Oct 16, 2018 at 12:09:32PM -0500, Dave Trollope wrote: > Hi, > > We are using the following script to generate CSV's for a subset of > variables in an SAV file and it looks like pspp is loading the entire SAV > file in to memory. (Some of our SAV files are quite large - 4GB). I'm > wondering if there is an option or a way we can reduce the memory usage > when extracting a subset of variables? > > GET FILE = "{}" > > SAVE TRANSLATE > ?? /OUTFILE="{}" > ?? /TYPE=CSV > ?? /FIELDNAMES > ?? /REPLACE > ?? /KEEP={} > ?? /MISSING=RECODE > ?? /CELLS=LABELS. > > Cheers > Dave > > _______________________________________________ > Pspp-users mailing list > Pspp-users@gnu.org > https://lists.gnu.org/mailman/listinfo/pspp-users > > -- > Avoid eavesdropping. Send strong encrypted email. > PGP Public key ID: 1024D/2DE827B3 > fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 > See http://sks-keyservers.net or any PGP keyserver for public key. > > > _______________________________________________ > Pspp-users mailing list > Pspp-users@gnu.org > https://lists.gnu.org/mailman/listinfo/pspp-users _______________________________________________ Pspp-users mailing list Pspp-users@gnu.org https://lists.gnu.org/mailman/listinfo/pspp-users