i'm having trouble saving and loading data frames.
at the end of the data cleaning and coding process, I am trying to
save the objects I want to keep in one data frame and then continue
working using just that data frame. here's what i do:
eggpow<-as.data.frame(cbind( var1, var2, etc.))
save(eggpow, "eggpow1.RData")
later, when I try to load and use it, I do:
eggpow2 <- load("eggpow1.RData")
but eggpow2 has
dim(eggpow2)
NULL
eggpow2
[1] "eggpow"
I expected eggpow2 here to be identical to eggpow at the top. what am
I doing wrong?
Andy