FWIW, I installed the package on my Windows machine to see what happens.
-gzsave- works admirably; the 55MB file I tested it with was compressed to
3MB. Unfortunately -gzuse- couldn't handle the extraction of the dataset;
the compressed file has a stata temporary name with a .tmp extension which
didn't get renamed to .dta during extraction, so Stata delivers an error
message.
r610: file C:\DOCUME~1\jwalla\LOCALS~1\Temp\ST_0500000e.tmp not Stata format
I manually extracted and renamed the file and stata worked with it just fine
however, so if someone wants to make a Windows port of the package it
shouldn't take much work. I'll use it anyway as an archiving tool for the
moment.
I should note that my system has WinRAR on it, which is gz capable. It may
be that a Windows computer without WinRAR (or something like it) wouldn't
work with the gzsave package.
-JW
-----Original Message-----
From: Henrik Stovring [mailto:[email protected]]
Sent: Monday, October 04, 2004 1:57 AM
To: statalist
Subject: st: New package for easy handling of compressed datasets
Dear statalist,
Thanks to Kit Baum, a new package called 'gzsave' can now be downloaded
from the SSC archives. To install just type:
ssc install gzsave
The package is aimed at Unix/Linux/MacOSX-users (Kit made me aware that
gzip is installed by default on MacOSX, thanks!), and is described as
follows in its abstract:
Use these routines to save and use datasets compressed by gzip on
Unix/Linux/MacOSX. They share syntax with Stata's save and use commands.
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/