Set path to R history file in environment, if not set