I tried to load my R workspace and received this error:
Error: bad restore file magic number (file may be corrupted) -- no data loaded In addition: Warning m
It also occurs when you try to load() an rds object instead of using
load()
object <- readRDS("object.rds")