https://github.com/cran/foreign
Tip revision: 6fefc001772f9c0d6db62088823ae1fb7107cfbf authored by R-core on 02 September 2004, 00:00:00 UTC
version 0.7
version 0.7
Tip revision: 6fefc00
ChangeLog
2004-09-02 Thomas Lumley <tlumley@u.washington.edu>
* Add write.foreign for writing to foreign packages
* use Date rather than POSIXt for read.dta
* Update tests/stata.Rout.save for using Date rather than POSIXt
* DESCRIPTION: New version is 0.7
2004-07-29 Thomas Lumley <tlumley@u.washington.edu>
* DESCRIPTION: New version is 0.6-11
* Fix US-style dates in read.epiinfo
* Add option to turn off some warnings in read.dta
2004-07-15 Kurt Hornik <Kurt.Hornik@wu-wien.ac.at>
* DESCRIPTION (Version): New version is 0.6-10.
* configure.ac: Protect against possible whitespace in R_HOME when
calling R CMD config.
2004-05-22 Kurt Hornik <Kurt.Hornik@wu-wien.ac.at>
* DESCRIPTION (Version): New version is 0.6-9.
* INDEX: Removed.
* src/SASxport.c (xport_info, xport_read): Make sure that
R_ExpandFileName() is called on a valid string (PR#5049).
2004-04-28 Thomas Lumley <tlumley@u.washington.edu>
* DESCRIPTION: version 0.6-8
* read.dta: 1-byte type was coming through unsigned
* tests/: test file with 1-byte type
2004-04-22 Thomas Lumley <tlumley@u.washington.edu>
* DESCRIPTION: version 0.6-7
* read.dta: add option to not convert _ to . in variable names
* tests/ tests of the new option and more tests for stata 8.
2003-12-20 Brian Ripley <ripley@stats.ox.ac.uk>
* DESCRIPTION (Version): New version is 0.6-6.
* NAMESPACE: New file.
* man/read.S.R: Do not export nor document SModeNames.
* src/zzz.R: Define .onLoad as well as .First.lib (the latter left
in case NAMESPACE is removed for debugging).
2003-12-20 Kurt Hornik <Kurt.Hornik@wu-wien.ac.at>
* DESCRIPTION (Version): New version is 0.6-5.
* TITLE: Removed.
* configure:
* configure.in:
* configure.ac:
Upgrade to Autoconf 2.50 style.
Header file 'src/vars.h' needs to be in AC_CONFIG_HEADERS (as we
do not AC_SUBST() in it).
Add testing code for a '-Wno-long-long' C compiler option to shut
up warnings from gcc -pedantic in fact due to glibc's byteswap.h
bswap_64 macro (which tries using __extension__, but fails ...).
* src/Makevars.in:
New file for possibly setting PKG_CFLAGS to '-Wno-long-long'.
* src/sfm-read.c:
Use __extension__ in GNUC version of REM_RND_UP macro.
2003-09-25 Saikat DebRoy <saikat@stat.wisc.edu>
* DESCRIPTION: Increased version to 0.6-4.
* src/swap_bytes.h.in:
The GNU libc header file byteswap.h only provides the bswap_64 macro
when using gcc. Use suitable replacement when using another compiler
like icc.
2003-09-25 Kurt Hornik <Kurt.Hornik@wu-wien.ac.at>
* DESCRIPTION (Version): New version is 0.6-3.
* man/read.epiinfo.Rd: Codoc mismatch.
2003-08-28 Thomas Lumley <tlumley@u.washington.edu>
* read.spss.Rd: note that strings are padded on the right with
spaces.
* version is 0.6-2
2003-08-19 Thomas Lumley <tlumley@u.washington.edu>
* read.dta: work around a Stata file that says it has value labels
but doesn't.
* version is 0.6-2
2003-05-21 Peter Dalgaard BSA <p.dalgaard@biostat.ku.dk>
* lookup.xport return SAS variable label and format. Slight change
of logic for getting variable name (avoid strchr on things that
aren't zero-terminated).
* version is 0.6-1
2003-05-20 Thomas Lumley <tlumley@u.washington.edu>
* read.dta/write.dta handle Stata 8.0
* version is 0.6
2003-05-08 Brian Ripley <ripley@stats.ox.ac.uk>
* src/* rename int32, flt64 and comment out int16 and flt32,
to avoid conflicts on AIX 5.1.
* DESCRIPTION: version is 0.5-13
2003-04-04 Duncan Murdoch <murdoch@stats.uwo.ca>
* bug fix for data.restore (bad error message)
2003-03-01 Duncan Murdoch <murdoch@stats.uwo.ca>
* bug fix for data.restore (wasn't reading NULL properly)
2002-11-04 Brian Ripley <ripley@stats.ox.ac.uk>
* configure.win didn't work with all toolsets
* DESCRIPTION: version is 0.5-8
2002-11-02 Thomas Lumley <tlumley@u.washington.edu>
* Fixed src/stataread.c for version 7/SE (thanks to examples sent
by Jason Liao)
* version is 0.5-7
2002-07-25 Brian Ripley <ripley@stats.ox.ac.uk>
* src/stataread.c: float NAs were being mapped to NaNs.
(Fixed earlier in CVS by Martyn Plummer but not released.)
* DESCRIPTION: Version is 0.5-6
2002-05-17 Thomas Lumley <tlumley@u.washington.edu>
* Stata short ints were coming through unsigned
* updated SPSS output in tests to follow 2002-04-29 changes
* version is 0.5-5
2002-05-14 Thomas Lumley <tlumley@u.washington.edu>
* Mark Myatt's fixes and extensions for read.epiinfo
2002-05-01 Kurt Hornik <Kurt.Hornik@wu-wien.ac.at>
* DESCRIPTION (Version): New version is 0.5-4.
* src/minitab.c: remove compatibility definitions for pre-1.2.0
as otherwise Rversion.h needs to be included explicitly for R
1.6.0.
2002-05-01 Brian Ripley <ripley@stats.ox.ac.uk>
* src/foreign.h: remove compatibility definitions for pre-1.2.0
as otherwise Rversion.h needs to be included explicitly for R
1.6.0.
* DESCRIPTION: R >= 1.2.0 given the above change.
2002-04-29 Saikat DebRoy <saikat@stat.wisc.edu>
* src/spss.c, R/spss.R, man/read.spss.Rd: read.spss adds a
"variable.labels" attribute to the result if any variable labels
are present in the SPSS file.
2002-03-27 Douglas Bates <bates@stat.wisc.edu>
* src/SASxport.c (IS_SASNA_CHAR): Silly typo (0x4l, not 0x41)
caught by Peter.
2002-03-08 Thomas Lumley <tlumley@u.washington.edu>
* Update stataread.c to read version 7/SE
* Add support for Epi Info
* SPSS: convert only some value labels to factor levels
2002-03-08 Brian Ripley <ripley@stats.ox.ac.uk>
* DESCRIPTION (Version): New version is 0.4-10.
* minitab.c, pfm-read.c, spss.c: add casts as required.
* configure.win: added to allow no-intervention
installation on Windows.
2002-01-24 Kurt Hornik <Kurt.Hornik@wu-wien.ac.at>
* DESCRIPTION (Version): New version is 0.4-9.
2002-01-11 Thomas Lumley <tlumley@u.washington.edu>
read.spss reads factor levels, optionally coerces to data.frame
2001-12-13 Thomas Lumley <tlumley@u.washington.edu>.
Typo in Stata date-handling provoked by gctorture()
2001-12-13 Kurt Hornik <Kurt.Hornik@ci.tuwien.ac.at>
* src/sfm-read.c (bufread): Do not read in 0 bytes [fix by PD].
2001-12-04 Kurt Hornik <Kurt.Hornik@ci.tuwien.ac.at>
* DESCRIPTION (Version): New version is 0.4-8.
2001-11-13 Thomas Lumley <tlumley@u.washington.edu>
revised factor reading in src/stataread.c,
added factor writing for Stata,
long names now abbreviate()d not truncated.
Fixed various idiocies in writing strings.
2001-11-12 Thomas Lumley <tlumley@u.washington.edu>
* src/stataread.c, R/read.dta.R, man/*.dta.Rd,
tests/datefactor.dta, tests/stata.R: read factors,
read and write dates in Stata.
2001-10-11 Thomas Lumley <tlumley@u.washington.edu>
* src/stataread.c: use strlen(), not the field width, as the
argument to allocString().
2001-07-23 Saikat DebRoy <saikat@stat.wisc.edu>
* src/pfm-read.c, src/spss.c: Do not inline functions on non-gcc
compilers.
* src/sfmP.h: Don not use the __atribute__ keyword on non-gcc
compilers.
2001-07-17 Brian Ripley <ripley@stats.ox.ac.uk>
* DESCRIPTION (Version): New version is 0.4-6.
* src/sfm-read.c Use Free not free consistently.
* src/spss.c (do_read_SPSS): Always open in binary mode.
2001-06-18 Kurt Hornik <Kurt.Hornik@ci.tuwien.ac.at>
* DESCRIPTION (Version): New version is 0.4-5.
* src/pfm-read.c (pfm_read_dictionary): Use Calloc() instead of
R_alloc().
* src/sfm-read.c (sfm_read_dictionary): Use Calloc() instead of
R_alloc().
* src/spss.c (do_read_SPSS): Check for null file pointer.
2001-06-09 Kurt Hornik <Kurt.Hornik@ci.tuwien.ac.at>
* tests/*.R, tests/*.Rout.save: Remove `gctorture(TRUE)'.
* R/*.R: Change name of filename argument to `file'. Add
`PACKAGE' arg in FF calls where missing. Remove .First.lib() from
stataread.
* man/*.Rd: Change name of filename argument to `file', and be
consistent about using keyword `file'.
2001-05-16 Saikat DebRoy <saikat@stat.wisc.edu>
* src/SASxport.c (next_xport_info): changed size of allocated
array tmp - it must be at least 81.
2001-05-14 Saikat DebRoy <saikat@stat.wisc.edu>
* R/read.dta.R, src/stataread.c, man/read.dta.Rd, man/write.dta.Rd:
Added Stata Version 7 support from Thomas Lumley
2001-04-09 Saikat DebRoy <saikat@stat.wisc.edu>
* src/SASxport.c (next_xport_info):
initialized *tailpad to 0. Fixed value of *tailpad
when end of file occurs while trying to get a new record (line
350). Fixed possible memory leaks in case of call to error.
(xport_info): Fixed possible memory leaks in case of call to
error. Removed most of the Calloc-ed arrays and replaced them with R
objects.
2001-04-03 Saikat DebRoy <saikat@stat.wisc.edu>
* src/SASxport.c (next_xport_info): fixed computation of tailpad
when restOfCard != 0. The earlier method used ftell which can give
wrong results for long files.
2001-03-31 Brian Ripley <ripley@stats.ox.ac.uk>
* R/read.S.R, man/read.S.Rd:
New files adapted from package Rstreams to read S3 objects and dumps.
2001-02-22 Saikat DebRoy <saikat@stat.wisc.edu>
* src/pfm-read.c:
In read_version_data, added check for date and time with the first
character of the field ' '.
Removed check for second integer field in the Variable Count
Record.
Both of these changes are based on bug report by Akio Sone.
2001-02-06 Saikat DebRoy <saikat@stat.wisc.edu>
* src/SASxport.c:
fixed problem with 8 character names in SAS XPORT format
2001-02-06 Saikat DebRoy <saikat@stat.wisc.edu>
* src/SASxport.c:
fixed problem with 8 character names in SAS XPORT format
2001-01-24 Douglas Bates <bates@verdi>
* src/SASxport.c: Fixing problem with calculation of the number of
rows in SAS XPORT data sets when the rows are short
2001-01-24 Douglas Bates <bates@stat.wisc.edu>
* src/SASxport.c (next_xport_info): Adding yet another rule to try
to detect the number of rows in a SAS data set.
2000-12-14 Douglas Bates <bates@stat.wisc.edu>
* cleanup: Added the cleanup script.
* src/file-handle.h: Added declaration of fh_init_files to keep
-Wall happy.
* src/sfm-read.c (read_header): initialized skip_amt to keep -Wall
happy.
* tests/minitab.Rout.save: Added a missing blank line in this file
and in others so they do not produce error reports during R CMD
check.
1999-12-15 Douglas Bates <bates@stat.wisc.edu>
* src/minitab.c (strtrim): Corrected the character count.
(MTB2SEXP): Added the names of the columns, if they are given.
1999-12-16 Douglas Bates <bates@stat.wisc.edu>
* DESCRIPTION (Package): Created a 0.1-1 release under the package
name "foreign".
* R/zzz.R: Added the copyright stuff.