I need to know how to read a .csv file with a lot of missing values created in R into SPSS such that those missing values are read as missing (. in SPSS) not as a string reading NA.
There are a lot of variables each with a lot of entries, and most of those entries are NA, so I don't have time to go through all the variables recoding each one-by-one from "NA" into "SYSMISS".
Does anyone have any ideas
I have tried
write.csv(df, "file.csv", na = ".")
but SPSS just reads this as a string, not as a missing value.