megv megv - 2 months ago 8
R Question

getting the name of a dataframe from loading a .rda file in R

I am trying to load an .rda file in r which was a saved dataframe. I do not remember the name of it though.

I have tried

a<-load("al.rda")


which then does not let me do anything with a. I get the error

Error:object 'a' not found


I have also tried to use the = sign.

How do I load this .rda file so I can use it?

I restared R with load("al.rda) and I know get the following error

Error: C stack usage is too close to the limit

Answer

I had to reinstall R...somehow it was corrupt. The simple command which I expected of

load("al.rda")

finally worked.