[R] Saving a big table or matrix
Patrick Connolly
p_connolly at slingshot.co.nz
Sun Feb 3 20:00:27 CET 2008
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
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
More information about the R-help
mailing list