the initial condition vc(0) =0. Hint: it is easier if you realize the opamp output voltage is effectively an ideal voltage source (so it does not depend on vr, and vc) and you can therefore treat the two parts of the circuit separately.
Fig: 1
Fig: 2