Hello to all. My name is Michal Bojanowski, I'm a Sociology student at Unversity of Warsaw. Recently I've started to learn R when I've found myself frustrated because of inflexibility of SPSS and other "user-friendly" statistical software. As I said, I'm new here, so my question is very simple: I wanted to use a large data set stored in SPSS-format file. I used the function READ.SPSS from FOREIGN contributed package. The package manual stated, that the function returns the data as a list, in which every variable is in different component... What is the quickest way to convert it into a DATA.FRAME object? (without specifying a (very long) list of variable names) Thank you in advance for any help PS.: Also I would be very grateful if anyone of You could give me a link to some R introductory texts MB -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Mon, 26 Feb 2001, Michal Bojanowski wrote:> Hello to all. > > My name is Michal Bojanowski, I'm a Sociology student at Unversity of > Warsaw. Recently I've started to learn R when I've found myself frustrated > because of inflexibility of SPSS and other "user-friendly" statistical > software. As I said, I'm new here, so my question is very simple: > > I wanted to use a large data set stored in SPSS-format file. I used the > function READ.SPSS from FOREIGN contributed package. The package manual > stated, that the function returns the data as a list, in which every > variable is in different component... > > What is the quickest way to convert it into a DATA.FRAME object? > (without specifying a (very long) list of variable names)as.data.frame() -thomas -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
What is the quickest way to convert it into a DATA.FRAME object? (without specifying a (very long) list of variable names) I usually read it in s-plus and then from s-splus to R. Marwan Khawaja Fafo Institute for Applied Social Science Borggt. 2B, P.O.Box 2947 T?yen N-0608 Oslo, Norway -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._