https://github.com/cran/foreign
Tip revision: 3df343a1f3be96337da5a8b8a765edfb4cd207a8 authored by R-core on 29 March 2006, 00:00:00 UTC
version 0.8-15
version 0.8-15
Tip revision: 3df343a
ChangeLog
2006-03-29 Brian Ripley <Brian.Ripley@R-project.org>
* DESCRIPTION: version is 0.8-15
* src/R_systat.c: Don't try to parse comments.
2006-02-25 Brian Ripley <Brian.Ripley@R-project.org>
* src/init.c: use const for tables.
2006-01-26 Brian Ripley <Brian.Ripley@R-project.org>
* DESCRIPTION: version is 0.8-14
* src/pspp-format-def.h: rename from format.def to avoid confusion
with Windows .def files.
* R/zzz.R: update FSF address.
2005-12-30 Brian Ripley <Brian.Ripley@R-project.org>
* DESCRIPTION: version is 0.8-13
* NAMESPACE, R/*.R: use registered symbols in .Call/.External calls.
* COPYING: update FSF address
2005-12-19 Brian Ripley <Brian.Ripley@R-project.org>
* src/SASxport.[ch]: better ways to avoid alignment problems.
* src/sfmP.h, src/sfm-read.c: remove packing as it causes
alignment problems on 64-bit platforms.
2005-12-14 Brian Ripley <Brian.Ripley@R-project.org>
* DESCRIPTION: version is 0.8-12
* src/SASxport.c: force alignment of char *, as apparently
gcc4's memcpy requires this.
2005-12-12 Brian Ripley <Brian.Ripley@R-project.org>
* src/sfm-read.c, src/SASxport.h: use int not long. First is
harmless, the second may not be on 64-bit platforms.
* src/sfm-read.c: reading a structure from a file assumes that
alignment is adding no padding, which is not the case on Sparc
Solaris's native compilers.
2005-12-08 Brian Ripley <Brian.Ripley@R-project.org>
* DESCRIPTION: version is 0.8-11
* po/R-fr.po, po/fr.po: add French translations.
2005-11-16 Brian Ripley <Brian.Ripley@R-project.org>
* src/init.c: new file, add symbol registration.
2005-08-26 Brian Ripley <Brian.Ripley@R-project.org>
* DESCRIPTION: version is 0.8-10
* src/pfm-read.c, src/sfm-read.c, src/spss.c: replace the
abuse of casting an int to/from void *, which correctly warned on
64-bit platforms.
2005-08-19 Brian Ripley <Brian.Ripley@R-project.org>
* src/Rdbfread.c, man/read.dbf.Rd: read over-wide numeric fields as
doubles.
2005-08-15 Thomas Lumley <tlumley@u.washington.edu>
* R/spss.R, man/read.spss.Rd: reverse the order of factor levels
when creating factors from SPSS value labels
2005-07-13 Thomas Lumley <tlumley@u.washington.edu>
* DESCRIPTION: version is 0.8-9
2005-07-13 Brian Ripley <Brian.Ripley@R-project.org>
* R/writeForeignCode.R:
* R/writeForeignSAS.R:
replace use of dQuote() which gave UTF-8 quotes in a UTF-8 locale.
2005-07-07 Thomas Lumley <tlumley@u.washington.edu>
* R/writeForeignSAS.R: add SAS to write.foreign()
2005-07-05 Thomas Lumley <tlumley@u.washington.edu>
* R/writeForeignCode.R: extra punctuation in SPSS code files.
2005-06-08 Brian Ripley <Brian.Ripley@R-project.org>
* src/dbfopen.c: suppress a couple of warnings on Solaris.
2005-06-07 Thomas Lumley <tlumley@u.washington.edu>
* src/stataread.c: Writes of empty strings gave an error
* DESCRIPTION: version is 0.8-8
2005-05-24 Thomas Lumley <tlumley@u.washington.edu>
* R/read.dta.R, man/read.dta.Rd: by default don't use value
labels unless there is a label for every value.
* src/sfm-read.c, man/read.spss.Rd: Suppress the "Unrecognized
record type 7, subtype 13" warning caused by long variable names
in SPSS files.
2005-04-17 Brian Ripley <Brian.Ripley@R-project.org>
* DESCRIPTION (Version): New version is 0.8-7.
* R/dbf.R: further patch from Roger Bivand for all-NA fields.
2005-04-04 Brian Ripley <Brian.Ripley@R-project.org>
* DESCRIPTION (Version): New version is 0.8-6.
* R/dbf.R: patch from Roger Bivand for invalid value for the
guess at the width of integer or numeric fields
* src/pfm-read.c: match -> pfm_match to avoid warning.
2005-02-05 Brian Ripley <Brian.Ripley@R-project.org>
* DESCRIPTION (Version): New version is 0.8-5.
* R/dbf.R:
* R/octave.R:
* R/read.dta.R:
* R/read.epiinfo.R:
* R/read.ssd.R:
* R/Sread.R:
* R/writeForeignCode.R:
* po/R-foreign.pot:
* po/foreign.pot:
* src/file-handle.c:
* src/foreign.h:
* src/format.c:
* src/minitab.c:
* src/pfm-read.c:
* src/R_systat.c:
* src/Rdbfread.c:
* src/Rdbfwrite.c:
* src/SASxport.c:
* src/sfm-read.c:
* src/spss.c:
* src/stataread.c:
mark error messages for gettext, improve messages.
* tests/stata.Rout.save: update for str() changes in R-devel
2004-12-27 Kurt Hornik <Kurt.Hornik@wu-wien.ac.at>
* DESCRIPTION (Version): New version is 0.8-4.
* R/octave.R: New file, adding read.octave() for reading in files
in Octave text data format (as generated by 'save -ascii').
* man/read.octave.Rd: New file, documenting the above.
* tests/octave.R:
* tests/octave.m:
* tests/octave.dat:
New files for testing read.octave().
2004-12-27 Brian Ripley <Brian.Ripley@R-project.org>
* test/stata.Rout.save: update for str() changes in R-devel
2004-12-14 Douglas Bates <bates@bates1-home>
* src/minitab.c (read_mtp,MTB2SEXP): code for matrices contributed
by Rajarshi Guha <rxg218@psu.edu>.
2004-12-02 Martin Maechler <maechler@stat.math.ethz.ch>
* tests/dumpdata: enhanced {logical; NA}
* tests/create-dumpdata.S: new {only internal documentation}
* tests/S3.R: add verbose=TRUE
* DESCRIPTION: New version is 0.8-3.
* DESCRIPTION (Imports): stats, methods
* R/Sread.R (data.restore): handle "logical"s (with NAs!)
correctly; handle NAs better in general, getting rid of extraneous
coercion warning.
2004-12-01 Martin Maechler <maechler@stat.math.ethz.ch>
* R/Sread.R (data.restore): handle `ts()' objects properly
2004-11-24 Brian Ripley <Brian.Ripley@R-project.org>
* DESCRIPTION: New version is 0.8-2.
* src/SASxport.c Definition of numerical missing values was
applied to character fields. (PR#7389)
2004-11-17 Brian Ripley <Brian.Ripley@R-project.org>
* DESCRIPTION: New version is 0.8-1.
* read.ssd.{R,Rd}: Make work under Windows and tidy up.
2004-11-8 Thomas Lumley <tlumley@u.washington.edu>
* spss.R: Trim trailing spaces from SPSS value labels
Don't create a factor when there are fewer labels than
non-missing levels
* read.spss.Rd: Mention the apparently harmless warning given for
recent versions of SPSS files.
2004-10-28 Brian Ripley <Brian.Ripley@R-project.org>
* DESCRIPTION: Mention read/write .dbf files
2004-10-25 Brian Ripley <Brian.Ripley@R-project.org>
* DESCRIPTION: New version is 0.8-0.
* Added read.systat contributed by Roger Bivand
* Added read.dbf, write.dbf based on functions from package 'maptools'.
* COPYRIGHTS: New file.
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.