I have an RData “E.g.RData”
I loaded it into R console using the load function.
load("E.g.RData")
it has a variable e.g. in RData.
I am doing like this –
e <- load("E.g.RData")
then e gets the character vector as “e.g.”
but I want the contents of e.g. into e.
Is there a way to do it in R?
Yeah, the problem is that E.g maintains its name during the saving of the object. You could try assigning the new name “e” to the E.g. object and then remove the E.g. object: