On Oct 5, 2010, at 11:17 PM, Carrie Li wrote:
Thank you, Henrik! That makes more sense now.
You mentioned that every double value needs 8 bytes. So, in R, how
many
decimal point, or any number smaller than, say 10^4 are considered
as double
value ? (Sorry I don't have any C or Java
Thanks a lot!!
Any integer is single element, whereas any number with decimal point is
double element ? Is that right ?
below is what I tried
so, basically, simply force it to be integer would save some space ?
P=1
a=rnorm(P*P)*1000
a=as.integer(a)
D1=matrix(a, nrow=P)
object.size(D1)
On Oct 6, 2010, at 6:08 PM, Carrie Li wrote:
Thanks a lot!!
Any integer is single element,
Not the way I would have expressed it. An integer is a 4 byte number
(range 2^31 + sign) and a double has a 8 byte floating point
representation (probably specified by some IEEE designation that
I am sorry that it has been couple days.
I've read the website you provided below, but still don't quite know if this
is doable.
The maximum vector length is 2^31-1, so here is what I tired, and it
returned errors as below.
P=2
D=matrix(rep(0, P*P), nrow=P)
Error: cannot allocate vector of
On Tue, Oct 5, 2010 at 5:21 PM, Carrie Li carrieands...@gmail.com wrote:
I am sorry that it has been couple days.
I've read the website you provided below, but still don't quite know if this
is doable.
The maximum vector length is 2^31-1, so here is what I tired, and it
returned errors as
Thank you, Henrik! That makes more sense now.
You mentioned that every double value needs 8 bytes. So, in R, how many
decimal point, or any number smaller than, say 10^4 are considered as double
value ? (Sorry I don't have any C or Java language background, and couldn't
find it for R. )
I
Hi everyone,
If I run on a 64-bit R, what is the maximum matrix size that it can handle ?
Is a matrix 20,000 x 20,000 possible on 32 bit ?
Thanks for answering!
Carrie--
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing
On Oct 2, 2010, at 11:14 AM, Carrie Li wrote:
Hi everyone,
If I run on a 64-bit R, what is the maximum matrix size that it can handle ?
Is a matrix 20,000 x 20,000 possible on 32 bit ?
Thanks for answering!
A matrix is a vector with 'dim' attributes. The maximum vector length is 2^31 -
1
8 matches
Mail list logo