[R] Dates in read.spss

Frank E Harrell Jr fharrell at virginia.edu
Mon Apr 21 22:46:07 CEST 2003


I am using read.spss in the foreign package to read an SPSS save file.  For date variables I get huge values such as 11489990400.  Does anyone know how to convert these values to R POSIXct date objects?  Thanks in advance -Frank

platform i686-pc-linux-gnu
arch     i686             
os       linux-gnu        
system   i686, linux-gnu  
status                    
major    1                
minor    6.1              
year     2002             
month    11               
day      01               
language R                

Package: foreign
Priority: recommended
Version: 0.5-10
Date: 2003-03-01

---
Frank E Harrell Jr              Prof. of Biostatistics & Statistics
Div. of Biostatistics & Epidem. Dept. of Health Evaluation Sciences
U. Virginia School of Medicine  http://hesweb1.med.virginia.edu/biostat



More information about the R-help mailing list