Documentation says (emphasis mine): "Registers an R function to be called upon garbage collection of object OR (optionally) at the end of an R session." Should this say "and" and not "or"? THK -- http://www.keittlab.org/ [[alternative HTML version deleted]]
On 06/02/2015 3:46 PM, Tim Keitt wrote:> Documentation says (emphasis mine): > > "Registers an R function to be called upon garbage collection of > object OR (optionally) at the end of an R session." > > Should this say "and" and not "or"? > > THK >No. "Or" in English is in the context the "inclusive or", not the "exclusive or". The function will only be called once, either when the object is garbage collected, or (if the option is selected) at the end of the session. Duncan Murdoch