s-news
[Top] [All Lists]

Importing SPSS files

To: <s-news@lists.biostat.wustl.edu>
Subject: Importing SPSS files
From: "Inman, Brant A. M.D." <Inman.Brant@mayo.edu>
Date: Wed, 18 Oct 2006 17:21:19 -0500
Thread-index: AcbzA7wBUsfUNoJGRrCkY2gkZ1fuMQ==
Thread-topic: Importing SPSS files

I am running R 2.3.1 and SPSS 14.0.1 on a Windows XP computer.  When I import SPSS .sav datafiles into R using either the "spss.get" function of the Hmisc library or the "read.spss" function of the foreign library, my variable names are truncated to 8 characters. Since I find that my longer variable names are more meaningful and therfore easier to work with, I would like to know if there is a way to stop R from truncating my SPSS variable names during the import process.

Thank you.

_________________________________________________
Dr. Brant A. Inman,  MD FRCSC
Urologic Oncology Fellow, Mayo Clinic College of Medicine
200 First Street SW
Rochester, MN   55905
Phone: (507) 284-1330
Fax:    (507) 284-4951
Email:  inman.brant@mayo.edu
_________________________________________________

<Prev in Thread] Current Thread [Next in Thread>
  • Importing SPSS files, Inman, Brant A. M.D. <=