[Rd] read.spss, R 1.3.0, win2k

Peter Dalgaard BSA p.dalgaard@biostat.ku.dk
17 Jul 2001 17:48:02 +0200

Prof Brian D Ripley <ripley@stats.ox.ac.uk> writes:

> I've found the problem.  The read.spss code was free-ing not Free-ing
> memory allocated by Calloc.  On most platforms that would work, but not on
> Windows where Calloc/Free and calloc/free use separate memory managers.

Odd. The opposite problem (using calloc/Free) did give segfaults
on Linux.... (That's what caused the trouble when the .sav file had
illegal characters in variable names.)

   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch