Read SPSS file into R

后端 未结 14 1748
情歌与酒
情歌与酒 2020-12-12 14:17

I am trying to learn R and want to bring in an SPSS file, which I can open in SPSS.

I have tried using read.spss from foreign and s

14条回答
  •  抹茶落季
    2020-12-12 14:53

    Another solution not mentioned here is to read SPSS data in R via ODBC. You need:

    1. IBM SPSS Statistics Data File Driver. Standalone driver is enough.
    2. Import SPSS data using RODBC package in R.

    See the example here. However I have to admit that, there could be problems with very big data files.

提交回复
热议问题