I'm trying to rename a large R object (a data.frame ~ 9GB) to match up with some code that's already written. The object is saved with the name df1
and the code is written looking for an object named df2
.
The only suggestion I've found here suggests creating a new, correctly named version of the object. This isn't an option given memory constraints. Is there a way to change the name of the object somewhere in the structure itself or maybe some kind of shallow copy? Any suggestions would be appreciated.