Displaying 2 results from an estimated 2 matches for "10000x10".
Did you mean:
1000010
2010 Aug 26
1
daisy(): space allocation issue
Hi,
I'm trying to apply the function daisy() to a data.frame 10000x10 but I have
not enough space (error message: cannot allocate vector of length
1476173280).
I didn't imagine I was not able to work with a matrix of just 10000
observations... I have setted in Rgui --max-mem-size=2G (I'm not able to set
more space..)
How can I solve this issue? Separating o...
1998 May 28
5
performance of apply
...7 0.40 0.47 0.51 0.63 0.71
4000 12.65 13.40 14.68 0.73 0.81 0.94 1.78 1.86 1.98
6000 26.51 28.14 29.50 1.19 1.22 1.38 3.79 3.80 3.80
8000 52.06 63.43 67.61 1.46 1.63 1.69 6.38 6.41 6.58
10000 84.06 98.17 118.94 1.93 2.01 2.13 9.78 9.79 9.81
That is, the computation of the sums of the rows of a 10000x10 matrix
with apply takes about 100sec on average, where a simple for-loop does
the same job in about 2sec.
The next table shows for every method the relative increase of time as
compared to the increase of the number of rows.
n M1 M2 M3
1 1 1 1
2 3.221 2.025 2.952
3 6.764 3.050 6.032
4 15.24...