Advanced
R
Q92 / 100
How does R's garbage collector generally decide when to free memory used by an object?
Correct! Well done.
Incorrect.
The correct answer is B) R uses automatic garbage collection that reclaims memory for objects no longer referenced by any reachable variable or environment
B
Correct Answer
R uses automatic garbage collection that reclaims memory for objects no longer referenced by any reachable variable or environment
Explanation
R automatically performs garbage collection, reclaiming memory occupied by objects that are no longer reachable, though gc() can be called manually to request collection.
Progress
92/100