<div dir="ltr">Hi Veronica,<div class="gmail_extra"><br><br><div class="gmail_quote">2014/1/8 INEC Verónica Vaca <span dir="ltr"><<a href="mailto:Veronica_Vaca@inec.gob.ec" target="_blank">Veronica_Vaca@inec.gob.ec</a>></span><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div lang="ES-EC" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span lang="EN-US">Dear Members of the list</span></p>
<p class="MsoNormal"><span lang="EN-US">I am trying to read some large spss files but I only found ways to read them and converting them in data frames.</span></p>
<p class="MsoNormal"><span lang="EN-US">Is there a function in the package data.table that allow import files.sav???</span></p>
<p class="MsoNormal"><span lang="EN-US">Or a way to combine this package with the other packages for importing data??</span></p></div></div></blockquote><div><br></div><div style>I've never used it, but it looks like the package 'foreign' can read (some types of?) SPSS data and import into R:</div>
<div style><br></div><div style><a href="http://cran.r-project.org/web/packages/foreign/index.html">http://cran.r-project.org/web/packages/foreign/index.html</a><br></div><div style><br></div><div style>If the data is amenable to become a data.table (ie. it's data.frame -like) you can convert it "in the usual way."</div>
<div style><br></div><div style>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.</div>
<div style><br></div><div style>HTH,</div><div style>-steve</div><div style><br></div></div>-- <br>Steve Lianoglou<br>Computational Biologist<br>Genentech
</div></div>