Remove irrelevant R history