We study the superconductor-insulator transition in nanohole ultrathin films in a transverse magnetic field by numerical simulation of a Josephson-junction array model. Geometrical disorder due to the random location of nanoholes in the film corresponds to random flux in the array model. Monte Carlo simulation in the path-integral representation is used to determine the critical behavior and the universal resistivity at the transition as a function of disorder and average number of flux quanta per cell, fo. The resistivity increases with disorder for noninteger fo while it decreases for integer fo, and reaches a common constant value in a vortex-glass regime above a critical value of the flux disorder D There is growing interest in the superconductorinsulator (SI) transition in ultra-thin films with a lattice of nanoholes [1][2][3][4][5][6] . This system is an important testing ground for models of the universality class of the quantum phase transition since the patterned nanostructure provides a sensitive probe for distinguishing between phase and amplitude fluctuations of the superconducting order parameter. The magnetoresistance oscillatory behavior at low magnetic fields near the transition is analogous to the one observed in microfabricated Josephsonjunction arrays, which undergo a SI transition due to the small electrical capacitance of the superconducting grains 7-11 . This common feature results from phase coherence effects, which can be described by the same generic model of phase fluctuations of the superconducting order parameter, a Josephson-junction array model, with a wider applicability. In fact, it is closely related to the Bose-Hubbard model, where Cooper pairs interact on a lattice potential, in the limit of a large number of bosons per site 8,12 , to the quantum rotor model [12][13][14] and to ultracold atoms on optical lattices 15-17 . For a periodic nanohole film at low magnetic fields, the simplest model consists of a frustrated array of superconducting "grains", where the phase is well defined locally, coupled by Josephson junctions or weak links on a periodic lattice, with the lattice of nanoholes corresponding to the dual lattice, which acts as a vortex pinning center 18,19 . The number of flux quanta per unit cell of the nanohole lattice, which is proportional to the external magnetic field, corresponds to the frustration parameter f of the Josephson-junction array model. The zero-temperature quantum phase transition in the array model, driven by the competition between the charging energy and Josephson-coupling energy at different frustration parameters, corresponds to the SI transition in the nanohole film in the external magnetic field. The resistivity at the transition is expected to be finite and universal 12,13,20,21 , depending only on the universality class of the transition, which generally changes in the presence of a magnetic field and disorder.Very recently, intriguing experimental results have been obtained near the SI transition in thin films with a disordered triangular l...