Actually, I was mistaken. For reactions involving ideal gasses, ∆Go = -RTlnKp. ∆Ao = -RTlnKc, where A is the helmholtz free energy. The explanation why requires some advanced knowledge of statistical thermodynamics, but it has do do with the special properties of the Gibbs free energy under conditions of fixed temperature and pressure, and the special properties of the Helmholtz free energy under conditions of fixed temperature and volume.