The superconductor-insulator transition in two dimensions has been widely
investigated as a paradigmatic quantum phase transition. The topic remains
controversial, however, because many experiments exhibit a metallic regime with
saturating low-temperature resistance, at odds with conventional theory. Here,
we explore this transition in a novel, highly controllable system, a
semiconductor heterostructure with epitaxial Al, patterned to form a regular
array of superconducting islands connected by a gateable quantum well. Spanning
nine orders of magnitude in resistance, the system exhibits regimes of
superconducting, metallic, and insulating behavior, along with signatures of
flux commensurability and vortex penetration. An in-plane magnetic field
eliminates the metallic regime, restoring the direct superconductor-insulator
transition, and improves scaling, while strongly altering the scaling exponent