Statistics/Basic: Difference between revisions

m
→‎{{header|R}}: Remove vanity tags
m (→‎{{header|Ring}}: Remove vanity tags)
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>
#Abhishek Ghosh, 10th January 2018
 
#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>
10,333

edits