Use 'attach' and then 'ls' with the name argument. Sort of:
attach("al.rda") ls("file:al.rda")
The data file is now on your search path at position 2, most likely. At:
search() ls(pos=2)
for enlightenment. Entering the name of any object stored in al.rda will now receive it if you do not have something in the search position 1, but R will probably warn you with a message about a thing masking another thing, if any.
However, now I suspect that you have not saved anything in your RData file. Two reasons:
- You say you did not receive an error message
- load says nothing loaded
I can duplicate this situation. If you save the file (file = "foo.RData"), you get an empty RData file - what you probably wanted to do was save.image (file = "foo.RData"), which saves all your objects.
How big is your .rda file? If its less than 100 bytes (my empty RData files are 42 bytes long), then I suspect what happened.
source share