A high sensitivity capacitance torquemeter has been used for a comprehensive investigation of the induced current densities and dynamic relaxation rates in a YBa 2 Cu 3 O x n film with nominal oxygen content varying between x n ϭ6.55 and x n ϭ7.0. The dynamic relaxation rate Q does not extrapolate to zero at Tϭ0 K, indicating the presence of quantum creep. By changing the oxygen content of the film it is possible to investigate the relation between the quantum creep rate Q(0) and the normal-state resistivity n (0) at low temperature. Although Q(0) increases monotonically with n , it is found that Q(0) is not proportional to n (0), in contrast to the predictions of a theory based on dissipative tunneling of collectively pinned single vortices ͓Blatter et al., Rev. Mod. Phys. 66, 1125 ͑1994͔͒. The experimental results imply that in YBa 2 Cu 3 O 7 quantum creep takes place in a transition regime between Hall tunneling and dissipative tunneling. For lower oxygen contents the quantum creep regime moves towards the dissipative limit. For each oxygen content the characteristic pinning energy U c (0) at Tϭ0 is obtained by a linear extrapolation to Tϭ 0 K of the T/Q versus T curves. The critical current density j c at Tϭ0 is determined independently by a linear extrapolation of the measured lnj s versus T curves. A power-law relation U c (0)ϰ͓ j c (0)͔ p with pϷ 0.5 is found, indicating single vortex pinning at higher temperatures. This is confirmed by a detailed analysis of the measured current densities and relaxation rates by means of the generalized inversion scheme developed by Schnack et al. ͓Phys. Rev. B 48, 13 178 ͑1993͔͒. For x n у 6.6 at B e ϭ 0.6 T and for x n у 6.7 at B e ϭ 2.0 T the calculated temperature dependence of j c and U c agrees remarkably well with a model based on threedimensional single vortex pinning caused by spatial fluctuations in the charge carrier mean free path. At lower oxygen contents and higher magnetic-fields the agreement gradually breaks down due to the increasing importance of thermal fluctuations. ͓S0163-1829͑96͒04925-9͔