Displaying 1 result from an estimated 1 matches for "someotherresults".
2012 Jun 11
1
saving sublist lda object with save.image()
...t replications I've run. Unfortunately I've been having difficulty accessing my lda data when I attempt to get it back after closing and reopening R. Here's an example that would give me the error I'm running into:
> library(MASS)
> ldaobject<-lda(Species~.,data=iris)
> someotherresults<-c(1:5)
> list1<-list(someotherresults,ldaobject)
> list2<-list(list1,list1,list1)
> plot(list2[[1]][[2]])#plots the ldaobject
> save.image('ldalists.Rdata')
###Now if I close my R buffer and reopen it I get:
> load('ldalists.Rdata')
> plot(list2[[1]][[...