I am trying to use the haven package to read spss data and am getting the following error:
Error in df_parse_sav_file(spec, encoding, user_na, cols_skip, n_max, : Failed to parse ~FilePath/Dataset: The file's timestamp string is invalid.
I have tried to update the package and restart my R session but am still having difficulty.
This issue has been reported widely:
You can try reverting to 1.1.0, which seemed to fix the issue for a lot of people.
remove.packages("haven")
devtools::install_version("haven", version = "1.1.0", repos = "http://cran.us.r-project.org")
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.