how to rename one dataframe in a list
How to rename
newname only? I tries
names(lst)="newname" and it doesn’t work.
lst <- list(a="one", b="two", c=c(1:3))
names, then subset with index and assign
names(lst) <- "newname"
Though, we can extract the names (
names(lst)  "b"
The assignment (setter –
names<-) should be on the whole object and not on the subset of the object
Answered By – akrun