You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unlike saveRDS() in base R, write_rds() includes no option for writing in ASCII rather than in binary. Is there a reason why that was left out? In my particular use case having the option for ascii writing using the more standardized readr functions would be nice.
(wrote RDA rather than RDS for some reason, amended)
The text was updated successfully, but these errors were encountered:
jmobrien
changed the title
Is there a reason why write_rda() doesn't include/pass the ascii param?
Is there a reason why write_rds() doesn't include/pass the ascii param?
Aug 10, 2021
Great! Noticed something else last week related to this--in saveRDS(), ascii=TRUE (or, here, text=TRUE) drops any tagged NA's that were loaded/created by haven. Binary saves work just fine.
I assume there's nothing to be done about that, but since it's a variation in behavior with relevance to other tidyverse packages, I thought it was worth mentioning in case that's the sort of thing the team wants to document.
(For what it's worth, nothing in the docs of either saveRDS() or save() would clearly suggest this behavior either)
Unlike
saveRDS()
in base R,write_rds()
includes no option for writing in ASCII rather than in binary. Is there a reason why that was left out? In my particular use case having the option for ascii writing using the more standardizedreadr
functions would be nice.(wrote RDA rather than RDS for some reason, amended)
The text was updated successfully, but these errors were encountered: