Collect data in a frame by using an accumulating cell:
Use the RANDOM() function to get a random number.
Create an accumulating cell by entering += followed by a frame literal referencing the cell that contains the RANDOM() function.
Re-evaluate the cell with the RANDOM() function multiple times by pressing CMD + Enter — as you re-evaluate the cell, your accumulating cell accumulates the random numbers in the frame.