Harry Redknapp has resigned from his position as manager of QPR, the club have confirmed.