SPSS import error

When I import the SPSS file, I get the error "Is this valid SPSS, SAS or STATA file? Cannot allocate 4.6 Mb vector". How do I solve this?
data size is 2.71 Gb

Well is it?

What package are you using? What code?

The Packages are foreign and haven.
Which packages should I use?
I am trying to add "import dataset" in Rstudio program.

The address of the data:
https://webfs.oecd.org/pisa2018/SPSS_STU_QQQ.zip

How about your code?

By the way the learningtower package is good for PISA data:

Otherwise, you could try haven:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.