The setback requirements of these Regulations shall not prohibit any necessary retaining wall nor prohibit any wall or fence except that in an R District, no wall or fence shall exceed eight (8) feet in height within a side yard or rear yard and shall not exceed four (4) feet in a required front yard.