0

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.

biruk1230
  • 2,508
  • 4
  • 12
  • 26
hcav
  • 1

1 Answers1

0

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")