I want to rename the entire data frame to r (for example, rename df1 to df 2). Until now, I always do this ...
df2 <- df1
df1 <- NULL
But when processing massive data sets, this leads to memory problems. My entire search in SO and google showed only results to rename data column names (rename () function in the "reshape" or assign () function of the package, but it does not work on the entire data frame). Is there a way to do this without creating a new data frame?
source
share