Statistics/Basic: Difference between revisions
m
→{{header|R}}: Remove vanity tags
Thundergnat (talk | contribs) m (→{{header|Ring}}: Remove vanity tags) |
Thundergnat (talk | contribs) m (→{{header|R}}: Remove vanity tags) |
||
Line 3,281:
The challenge of processing a trillion numbers is generating them in the first place. As the errors below show, allocating 7.5 TB for such a vector is simply impractical. The workaround is to generate them, process individual data points and then discard them. The downside in this case is the time.
<lang R>
#Generate the sets
a = runif(10,min=0,max=1)
Line 3,328 ⟶ 3,326:
Error: cannot allocate vector of size 7450.6 Gb
</pre>
=={{header|Racket}}==
<lang racket>
|