I exported a list with some ggplot2
objects into a .RDS
file, generated from a R 3.6.1 session. Then, tried importing it into a R 4.0.0 session and got the following error:
Error in identicalUnits(x) :
old version of unit class is no longer allowed
I can read and import these plots into an R object, but CAN'T plot. They actually have all the data within (data, layers, scales mapping...) but ggplot2
is not plotting them.
Is there any way around it? Have any of you encountered with this issue? Would ggplot2
have plans to update the library so we can import older version plots? Hope you can help me find a solution, or at least a patch. Thanks!