You need to use backlinks:
"86" <- data.frame(a = "meow", b = "wouf")
> `86`
To change the name of your data frame, simply assign ( <-) the data from 86to dfand delete ( rm) the original86
df <- `86`; rm(`86`)
> df
Due to copy-on-modify this will not allocate memory for df.
> "86" <- data.frame(a = "meow", b = "wouf"); tracemem(`86`)
# [1] "<0x3936b28>"
> df <- `86`; tracemem(df)
# [1] "<0x3936b28>"
source
share