Thank you Steve I have tried with the foreign package but I have the problem with the memory, I can´t find the function setDT, I thought it would be very helpful, because the data frame takes all the memory. I am very new at R, so I don´t know how to get that function if it is in the development version of the package.
Greetings Veronica De: [email protected] [mailto:[email protected]] En nombre de Steve Lianoglou Enviado el: miércoles, 08 de enero de 2014 14:40 Para: INEC Verónica Vaca CC: [email protected] Asunto: Re: [datatable-help] Reading spss files Hi Veronica, 2014/1/8 INEC Verónica Vaca <[email protected]<mailto:[email protected]>> Dear Members of the list I am trying to read some large spss files but I only found ways to read them and converting them in data frames. Is there a function in the package data.table that allow import files.sav??? Or a way to combine this package with the other packages for importing data?? I've never used it, but it looks like the package 'foreign' can read (some types of?) SPSS data and import into R: http://cran.r-project.org/web/packages/foreign/index.html If the data is amenable to become a data.table (ie. it's data.frame -like) you can convert it "in the usual way." Note that in the development version of data.table, Arun has implemented a setDT method which converts a data.frame to a data.table without making a copy, which might be helpful to you if your data.frame eats up enough RAM. HTH, -steve -- Steve Lianoglou Computational Biologist Genentech ________________________________ Somos responsables por la protección del Medio Ambiente. Antes de Imprimir este mail confirme que sea necesario. Gracias "Cláusula de Confidencialidad: La información contenida en el presente mensaje es confidencial, esta dirigida exclusivamente a su destinatario y no puede ser vinculante. El INEC no se responsabiliza por su uso y deja expresa constancia que en los registros de la Institución consta la información originalmente enviada. Este mensaje esta protegido por la Ley de Propiedad Intelectual, Ley de Comercio Electrónico, Firmas y Mensajes de datos, reglamentos y acuerdos internacionales relacionados. Si usted no es el destinatario de este mensaje, recomendamos su eliminación inmediata. La distribución o copia del mismo, esta prohibida y sera sancionada de acuerdo al Código Penal y demás normas aplicables. La transmisión de información por correo electrónico, no garantiza que la misma sea segura o este libre de error, por consiguiente, se recomienda su verificación. Toda solicitud de información requerida de manera oficial al INEC debe ser ingresada por Archivo General y dirigida a la máxima autoridad de la Institución, conforme a la Ley y demás normas vigentes."
_______________________________________________ datatable-help mailing list [email protected] https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help
