[R] New version of read.spss requires scripts to be re-written

Stuart Leask stuart.leask at nottingham.ac.uk
Wed Mar 13 11:38:46 CET 2002

Hi there. I'm delighted to see that the latest version of read.spss imports
categorical value labels, but in doing so causes trouble if most of the
values of a variable are continuous measures (eg. weight in kg), and just a
few are categorical (eg. -3 not measured -2 not applicable etc.), as we've
been warned.

Effectively the default function is now different. Old scripts that worked
now need editing.

I suppose that the lack of value label handling in the old read.spss was a
bug, so any improvements should be the default. However, the current
function 'doesn't work any more'.
(It may again when read.spss' handling of this sort of variable is further

Is there any agreement as to whether updated functions should be
backwards-compatible by default?


Dr Stuart Leask MA MRCPsych, Clinical Lecturer in Psychiatry
University of Nottingham Dept of Psychiatry, Duncan Macmillan House
Porchester Road, Nottingham. NG3 6AA. UK

r-help 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-help-request at stat.math.ethz.ch

More information about the R-help mailing list