On Thu, 23 Dec 2021, Jeff Newmiller wrote:

This practice (saving and resuming from Rdata files) often ends badly this
way. Objects that are "shared" in memory get saved as separate data and
may not "fit" when re-loaded. This is why re-running from scratch should
always be part of your workflow. There are caching approaches that track
individual objects rather than entire workspaces such as the targets
package or others or you can roll your own with saveRDS/readRDS or the qs
package.

Jeff,

While I've used R for more than a decade I've not before had this
experience.

I'll set up a script to run all existing scripts, in order, and run it to be
able to continue my project. I'll definitely look at the targets and qs
packages as well as save-read/RDS.

Thanks for pointing me in the right direction and teaching me a valuable
lesson.

Have safe and healthy holidays and stay well,

Rich

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to