On Fri, 01-Feb-2008 at 03:23PM +0200, Atte Tenkanen wrote:

|> I had a problem:
|> 
|> I saved a matrix:
|> 
|> > save(Tondistmatrix1, file="/Users/atte/Skriptit/Tondistmatrix1")
|> 
|> then I tried to open it with R:
|> > Tondistmatrix1=load("/Users/atte/Skriptit/Tondistmatrix1")
|> > Tondistmatrix1[1:10,]
|> Error in Tondistmatrix1[1:10, ] : incorrect number of dimensions
|> > dim(Tondistmatrix1)
|> NULL

Read the help page for load again and all will be clear.



-- 
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.   
   ___    Patrick Connolly   
 {~._.~}                         Great minds discuss ideas    
 _( Y )_                        Middle minds discuss events 
(:_~*~_:)                        Small minds discuss people  
 (_)-(_)                                   ..... Anon
          
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to