[R] newbie question

Thomas Lumley tlumley at u.washington.edu
Mon Feb 26 03:59:14 CET 2001


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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list