[RkWard-devel] [rkward - Help] Large matrices

SourceForge.net noreply at sourceforge.net
Thu Feb 15 07:46:17 UTC 2007


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4159100
By: marshallbanana

I am trying to create a matrix of dimensions 25 by 10^7 using command
matrix(data=0,25,10^7) but cannot do so (I then wish to fill it with data generated
by for loops). In fact the max that I am able to create is one with 10^8 entries
(eg. matrix(data=0,10^8,1) or matrix(data=0,10^6,10^2). Anything bigger than
this is met with, in 10^9 case;

Error in matrix(data = 0, 1, 10^9) : cannot allocate vector of length
1000000000

or, in 10^17 case;

Error in matrix(data = 0, 1, 10^17) : matrix: invalid 'ncol' value (< 0)
In addition: Warning message:
NAs introduced by coercion

Is this a limitation of R or of RKWard, and is there anyway around this?

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=165574




More information about the Rkward-devel mailing list